getNasVolumeInstanceRatingList
- Print
- PDF
getNasVolumeInstanceRatingList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic
View the size of a NAS volume instance over a specific time period based on the set measurement interval.
Requests
The following describes the request format for the endpoint. The request format is as follows.
Method | URI |
---|---|
GET, POST | /getNasVolumeInstanceRatingList |
Request headers
For headers common to all NAS APIs, see NAS common headers.
Request query parameters
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
nasVolumeInstanceNo | String | Required | NAS volume instance number for which you want to view the list of volume size measurements
|
startTime | String | Required | Measurement start date and time
|
endTime | String | Required | Measurement end date and time
|
interval | String | Required | Measurement interval
|
Request example
The following is a sample request.
curl --location --request GET 'https://ncloud.apigw.ntruss.com/server/v2/getNasVolumeInstanceRatingList?nasVolumeInstanceNo=23420000&startTime=2024-04-07T00%3A00%3A00%2B0000&endTime=2024-04-08T00%3A00%3A00%2B0000&interval=1d' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Responses
The following describes the response format.
Response body
See NasVolumeInstanceRating for the response body.
Response status codes
For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Response example
The following is a sample response.
{
"getNasVolumeInstanceRatingListResponse": {
"totalRows": 1,
"nasVolumeInstanceRatingList": [
{
"ratingTime": "20240407",
"averageVolumeSize": 536870912000,
"averageVolumeUseSize": 380928,
"averageVolumeUseRatio": 0.0,
"maxVolumeUseSize": 380928,
"maxVolumeUseRatio": 0.0,
"minVolumeUseSize": 380928,
"minVolumeUseRatio": 0.0,
"snapshotAverageVolumeSize": 0,
"snapshotAverageVolumeUseSize": 0,
"snapshotMaxVolumeUseSize": 0,
"snapshotMaxVolumeUseRatio": 0.0,
"snapshotMinVolumeUseSize": 0,
"snapshotMinVolumeUseRatio": 0.0
}
],
"requestId": "0000bdf-ceaa-4f9f-b6a6-da1352110000",
"returnCode": "0",
"returnMessage": "success"
}
}
Was this article helpful?