Resource Manager overview

Prev Next

Available in Classic and VPC

Resource Manager is a NAVER Cloud Platform service for the integrated management of all resources in NAVER Cloud Platform. The Resource Manager service provides APIs in RESTful form for the users' resource-related features.

Common Resource Manager settings

The following describes commonly used request and response formats in Resource Manager APIs.

Request

The following describes the common request format.

API URL

The request API URL is as follows:

https://resourcemanager.apigw.ntruss.com

Request headers

The following describes the request headers.

Field Required Description
x-ncp-apigw-timestamp Required This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
  • Unix timestamp format.
x-ncp-iam-access-key Required Access key issued on NAVER Cloud Platform
x-ncp-apigw-signature-v2 Required Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256).
Content-Type Required Request data format
  • application/json

Response

The following describes the common response format.

Response body

The response body includes the following data:

error
error defines the API call failure information. The following describes error.

Field Type Required Description
error Object - Error code and message
  • Displayed if success is false
error.errorCode Integer - Error code
error.message String - Error message

Response status codes

The following describes the response status codes.

HTTP status code Code Message Description
400 - 'nrnList' cannot be empty. Missing nrnList value
400 - 'tagKey' cannot be empty. Missing tagKey value
400 - 'tagKey' cannot be empty when using 'tag' parameter. Missing tag[].tagKey value
400 - 'tagValue' cannot be empty. Missing tagValue value
Note

For information about the HTTP status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

Response example

For response examples when a call is successful, see each API specification. The following is a sample response upon a failed call.

{
    "error": {
        "errorCode": "400",
        "message": " 'nrnList' cannot be empty."
    }
}

Resource Manager API

The following describes the APIs provided by the Resource Manager service.

API Description
AttachGroup Add resource to a group.
AttachTag Add tag to a resource.
DetachGroup Delete resource from a group.
DetachTag Delete tag from a resource.
GetGroupList Get resource group list.
GetResourceList Get resource list.

Resource Manager related resources

NAVER Cloud Platform provides a variety of related resources to help users better understand Resource Manager APIs.

  • Resource Manager API guides
    • API overview: How to issue and check access key and secret key issued by NAVER Cloud Platform, how to generate the signature required for request headers
    • Sub Account User Guides: How to issue and check access keys for sub accounts issued by NAVER Cloud Platform
    • Common Ncloud response status codes: Information on common response status codes of NAVER Cloud Platform used by the Resource Manager service
  • How to use the Resource Manager service