setNasVolumeReturnProtection
- Print
- PDF
setNasVolumeReturnProtection
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Can be used in a VPC environment.
Overview
Set the NAS volume termination protection status.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code You can decide the region of the NAS volume instance to set the termination protection status. You can obtain regionCode through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
nasVolumeInstanceNo | Yes | String | - NAS volume instance number for which the termination protection status will be set You can obtain nasVolumeInstanceNo through the getNasVolumeInstanceList action. | |
isReturnProtection | Yes | Boolean | - Termination protection status Options: true | false | |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
Request examples
GET {API_URL}/vnas/v2/setNasVolumeReturnProtection
?regionCode=KR
&nasVolumeInstanceNo=***3901
&isReturnProtection=true
Response examples
<setNasVolumeReturnProtectionResponse>
<requestId>b6a4308d-48f3-4f0d-90a0-c00f3c41da54</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<nasVolumeInstanceList>
<nasVolumeInstance>
<nasVolumeInstanceNo>***3901</nasVolumeInstanceNo>
<nasVolumeInstanceStatus>
<code>CREAT</code>
<codeName>NAS create</codeName>
</nasVolumeInstanceStatus>
<nasVolumeInstanceOperation>
<code>NULL</code>
<codeName>NAS NULL OP</codeName>
</nasVolumeInstanceOperation>
<nasVolumeInstanceStatusName></nasVolumeInstanceStatusName>
<createDate>1970-01-01T09:00:02+0900</createDate>
<nasVolumeDescription></nasVolumeDescription>
<mountInformation>***.***.0.20:/n***4567_test***</mountInformation>
<volumeAllotmentProtocolType>
<code>NFS</code>
<codeName>NFS</codeName>
</volumeAllotmentProtocolType>
<volumeName>n***4567_test***</volumeName>
<volumeTotalSize>536870912000</volumeTotalSize>
<volumeSize>536870912000</volumeSize>
<snapshotVolumeConfigurationRatio>0.0</snapshotVolumeConfigurationRatio>
<snapshotVolumeSize>0</snapshotVolumeSize>
<isSnapshotConfiguration>false</isSnapshotConfiguration>
<isEventConfiguration>false</isEventConfiguration>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<nasVolumeServerInstanceNoList>
<serverInstanceNo>***4299</serverInstanceNo>
</nasVolumeServerInstanceNoList>
<isEncryptedVolume>false</isEncryptedVolume>
<nasVolumeInstanceCustomIpList/>
<isReturnProtection>true</isReturnProtection>
</nasVolumeInstance>
</nasVolumeInstanceList>
</setNasVolumeReturnProtectionResponse>
Was this article helpful?