setBlockStorageReturnProtection
- Print
- PDF
setBlockStorageReturnProtection
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Set block storage 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 block storage 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. | |
blockStorageInstanceNo | Yes | String | - Block storage instance number for which the termination protection status will be set You can obtain blockStorageInstanceNo through the getBlockStorageInstanceList 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}/setBlockStorageReturnProtection
?regionCode=KR
&blockStorageInstanceNo=***7746
&isReturnProtection=true
Response examples
<setBlockStorageReturnProtectionResponse>
<requestId>17b3bcf6-8e52-47e5-b822-1352ec765a97</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<blockStorageInstanceList>
<blockStorageInstance>
<blockStorageInstanceNo>***7746</blockStorageInstanceNo>
<serverInstanceNo>***4299</serverInstanceNo>
<blockStorageName>test-***</blockStorageName>
<blockStorageType>
<code>SVRBS</code>
<codeName>Server BS</codeName>
</blockStorageType>
<blockStorageSize>64424509440</blockStorageSize>
<deviceName>/dev/xvdb</deviceName>
<blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
<blockStorageInstanceStatus>
<code>ATTAC</code>
<codeName>Block storage ATTACHED state</codeName>
</blockStorageInstanceStatus>
<blockStorageInstanceOperation>
<code>NULL</code>
<codeName>Block Storage NULL OP</codeName>
</blockStorageInstanceOperation>
<blockStorageInstanceStatusName>attached</blockStorageInstanceStatusName>
<createDate>2020-08-25T09:38:49+0900</createDate>
<blockStorageDescription></blockStorageDescription>
<blockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</blockStorageDiskType>
<blockStorageDiskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</blockStorageDiskDetailType>
<maxIopsThroughput>4000</maxIopsThroughput>
<isEncryptedVolume>false</isEncryptedVolume>
<zoneCode>KR-1</zoneCode>
<regionCode>KR</regionCode>
<isReturnProtection>true</isReturnProtection>
</blockStorageInstance>
</blockStorageInstanceList>
</setBlockStorageReturnProtectionResponse>
Was this article helpful?