attachBlockStorageInstance
    • PDF

    attachBlockStorageInstance

    • PDF

    Article summary

    Overview

    This assigns a block storage instance to the server instance.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    blockStorageInstanceNoYesStringBlock storage instance number
    This determines the block storage instance number to be assigned to the server instance.
    blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
    serverInstanceNoYesStringServer instance number
    This determines the server instance in which a block storage will be assigned.
    serverInstanceNo can be obtained through the getServerInstanceList action.

    Response

    Response body

    Examples

    Request Example

    GET {SERVER_API_URL}/attachBlockStorageInstance
    ?blockStorageInstanceNo=***1004
    &serverInstanceNo=***1003
    

    Response Example

    <attachBlockStorageInstanceResponse>
      <requestId>c8172d4a-5486-4d34-9331-dfec6a747abf</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <blockStorageInstanceList>
        <blockStorageInstance>
          <blockStorageInstanceNo>***1004</blockStorageInstanceNo>
          <serverInstanceNo>***1003</serverInstanceNo>
          <serverName>test-***</serverName>
          <blockStorageType>
            <code>SVRBS</code>
            <codeName>Server BS</codeName>
          </blockStorageType>
          <blockStorageName>test-***</blockStorageName>
          <blockStorageSize>53687091200</blockStorageSize>
          <deviceName></deviceName>
          <blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
          <blockStorageInstanceStatus>
            <code>CREAT</code>
            <codeName>Block storage CREATED state</codeName>
          </blockStorageInstanceStatus>
          <blockStorageInstanceOperation>
            <code>ATTAC</code>
            <codeName>Block Storage STOP OP</codeName>
          </blockStorageInstanceOperation>
          <blockStorageInstanceStatusName>attaching</blockStorageInstanceStatusName>
          <createDate>2018-10-22T16:19:51+0900</createDate>
          <blockStorageInstanceDescription></blockStorageInstanceDescription>
          <diskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </diskType>
          <diskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </diskDetailType>
          <maxIopsThroughput>4000</maxIopsThroughput>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>평촌 zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
        </blockStorageInstance>
      </blockStorageInstanceList>
    </attachBlockStorageInstanceResponse>
    

    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.