changeNasVolumeSnapshotConfiguration
- Print
- PDF
changeNasVolumeSnapshotConfiguration
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Change the snapshot settings for a NAS volume instance.
Requests
The following describes the request format for the endpoint. The request format is as follows.
Method | URI |
---|---|
GET, POST | /changeNasVolumeSnapshotConfiguration |
Request headers
For headers common to all NAS (VPC) APIs, see NAS (VPC) common headers.
Request query parameters
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
nasVolumeInstanceNo | String | Required | Unique number of the NAS volume instance
|
snapshotVolumeConfigurationRatio | Integer | Required | Set the percentage of snapshot allocation in the volume (%)
|
regionCode | String | Optional | Region code
|
snapshotVolumeConfigDayOfWeekTypeCode | String | Optional | Enable automatic snapshot creation and set the frequency-1 (daily) | 0 (Sunday) | 1 (Monday) | 2 (Tuesday) | 3 (Wednesday) | 4 (Thursday) | 5 (Friday) | 6 (Saturday)
|
snapshotVolumeConfigTime | Integer | Conditional | Execution time (hour) for automatic snapshot creation
|
responseFormatType | String | Optional | Format type of the response result
|
Request example
The following is a sample request.
curl --location --request GET 'https://ncloud.apigw.ntruss.com/vnas/v2/changeNasVolumeSnapshotConfiguration?regionCode=KR&nasVolumeInstanceNo=00000000&snapshotVolumeConfigurationRatio=3&snapshotVolumeConfigDayOfWeekTypeCode=6&snapshotVolumeConfigTime=0&responseFormatType=xml' \
--header 'x-ncp-apigw-timestamp: {timestamp}' \
--header 'x-ncp-iam-access-key: {access key}' \
--header 'x-ncp-apigw-signature-v2: {API gateway signature}' \
Responses
The following describes the response format.
Response body
See NasVolumeInstanceList 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.
<?xml version="1.0" encoding="UTF-8"?>
<changeNasVolumeSnapshotConfigurationResponse>
<requestId></requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstance>
<nasVolumeInstanceNo>00000000</nasVolumeInstanceNo>
<nasVolumeInstanceStatus>
<code>CREAT</code>
<codeName>NAS create</codeName>
</nasVolumeInstanceStatus>
<nasVolumeInstanceOperation>
<code>NULL</code>
<codeName>NAS NULL OP</codeName>
</nasVolumeInstanceOperation>
<nasVolumeInstanceStatusName>created</nasVolumeInstanceStatusName>
<createDate>2024-04-03T13:07:16+0900</createDate>
<nasVolumeDescription></nasVolumeDescription>
<mountInformation>101.101.00.00:/n0000000_hss</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n0000000_hss</volumeName>
<volumeTotalSize>536870912000</volumeTotalSize>
<volumeSize>520764784640</volumeSize>
<snapshotVolumeConfigurationRatio>3.0</snapshotVolumeConfigurationRatio>
<snapshotVolumeConfigPeriodType>
<code>WEEK</code>
<codeName>everyweek</codeName>
</snapshotVolumeConfigPeriodType>
<snapshotVolumeConfigDayOfWeekType>
<code>6</code>
<codeName>Saturday</codeName>
</snapshotVolumeConfigDayOfWeekType>
<snapshotVolumeConfigTime>0</snapshotVolumeConfigTime>
<snapshotVolumeSize>16106127360</snapshotVolumeSize>
<isSnapshotConfiguration>true</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<regionCode>KR</regionCode>
<zoneCode>KR-2</zoneCode>
<nasVolumeServerInstanceNoList/>
<isEncryptedVolume>false</isEncryptedVolume>
<nasVolumeInstanceCustomIpList/>
<isReturnProtection>false</isReturnProtection>
</nasVolumeInstance>
</nasVolumeInstanceList>
</changeNasVolumeSnapshotConfigurationResponse>
Was this article helpful?