setBlockStorageReturnProtection
    • PDF

    setBlockStorageReturnProtection

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Set block storage termination protection status.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- 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.
    blockStorageInstanceNoYesString- Block storage instance number for which the termination protection status will be set
    You can obtain blockStorageInstanceNo through the getBlockStorageInstanceList action.
    isReturnProtectionYesBoolean- Termination protection status
    Options: true | false
    responseFormatTypeNoString- 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.