changeNasVolumeSize
    • PDF

    changeNasVolumeSize

    • PDF

    기사 요약

    Classic 환경에서 이용 가능합니다.

    개요

    NAS 볼륨의 사이즈를 변경합니다.

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    nasVolumeInstanceNoYesString- NAS 볼륨 인스턴스 번호
    nasVolumeInstanceNo는 getNasVolumeInstanceList 액션을 통해 획득 가능
    volumeSizeYesLong100GB 이상 / 10000GB 이하- NAS 볼륨 용량
    Options : 100GB ~ 10000GB
    isAsyncNoBoolean- Async 여부
    Options : true | false
    Default : false

    응답

    응답 바디

    예시

    요청 예시

    GET {SERVER_API_URL}/changeNasVolumeSize
    ?nasVolumeInstanceNo=***3118
    &volumeSize=1000
    

    응답 예시

    <changeNasVolumeSizeResponse>
      <requestId>dccb8b18-d15d-4927-b98a-c9bd7512ddf2</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <nasVolumeInstanceList>
        <nasVolumeInstance>
          <nasVolumeInstanceNo>***3118</nasVolumeInstanceNo>
          <nasVolumeInstanceStatus>
            <code>CREAT</code>
            <codeName>NAS create</codeName>
          </nasVolumeInstanceStatus>
          <nasVolumeInstanceOperation>
            <code>NULL</code>
            <codeName>NAS NULL OP</codeName>
          </nasVolumeInstanceOperation>
          <nasVolumeInstanceStatusName>created</nasVolumeInstanceStatusName>
          <createDate>2018-11-26T11:09:28+0900</createDate>
          <nasVolumeDescription></nasVolumeDescription>
          <mountInformation>***.***.53.74:/n***2613_test10</mountInformation>
          <volumeAllotmentProtocolType>
            <code>NFS</code>
            <codeName>NFS</codeName>
          </volumeAllotmentProtocolType>
          <volumeName>n***2613_test10</volumeName>
          <volumeTotalSize>1073741824000</volumeTotalSize>
          <volumeSize>1073741824000</volumeSize>
          <snapshotVolumeConfigurationRatio>0.0</snapshotVolumeConfigurationRatio>
          <snapshotVolumeSize>0</snapshotVolumeSize>
          <isSnapshotConfiguration>false</isSnapshotConfiguration>
          <isEventConfiguration>false</isEventConfiguration>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>KOREA</regionName>
          </region>
          <zone>
            <zoneNo>2</zoneNo>
            <zoneName>KR-1</zoneName>
            <zoneCode>KR-1</zoneCode>
            <zoneDescription>KR-1 zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
          <isReturnProtection>false</isReturnProtection>
          <nasVolumeInstanceCustomIpList/>
          <nasVolumeServerInstanceList>
            <serverInstance>
              <serverInstanceNo>***507</serverInstanceNo>
              <serverName>s165d2104110</serverName>
              <serverDescription></serverDescription>
              <cpuCount>1</cpuCount>
              <memorySize>2147483648</memorySize>
              <baseBlockStorageSize>53687091200</baseBlockStorageSize>
              <platformType>
                <code>LNX64</code>
                <codeName>Linux 64 Bit</codeName>
              </platformType>
              <loginKeyName>juhoonkim</loginKeyName>
              <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
              <publicIp></publicIp>
              <privateIp>***.***.0.56</privateIp>
              <serverImageName>centos-6.6-64</serverImageName>
              <serverInstanceStatus>
                <code>RUN</code>
                <codeName>Server run state</codeName>
              </serverInstanceStatus>
              <serverInstanceOperation>
                <code>NULL</code>
                <codeName>Server NULL OP</codeName>
              </serverInstanceOperation>
              <serverInstanceStatusName>running</serverInstanceStatusName>
              <createDate>2018-09-13T17:33:26+0900</createDate>
              <uptime>2018-11-23T17:32:23+0900</uptime>
              <serverImageProductCode>SPSW0LINUX000044</serverImageProductCode>
              <serverProductCode>SPSVRSTAND000003</serverProductCode>
              <isProtectServerTermination>false</isProtectServerTermination>
              <portForwardingPublicIp>***.***.51.90</portForwardingPublicIp>
              <zone>
                <zoneNo>2</zoneNo>
                <zoneName>KR-1</zoneName>
                <zoneCode>KR-1</zoneCode>
                <zoneDescription>KR-1 zone</zoneDescription>
                <regionNo>1</regionNo>
              </zone>
              <region>
                <regionNo>1</regionNo>
                <regionCode>KR</regionCode>
                <regionName>KOREA</regionName>
              </region>
              <baseBlockStorageDiskType>
                <code>NET</code>
                <codeName>Network Storage</codeName>
              </baseBlockStorageDiskType>
              <baseBlockStorageDiskDetailType>
                <code>HDD</code>
                <codeName>HDD</codeName>
              </baseBlockStorageDiskDetailType>
              <serverInstanceType>
                <code>COMPT</code>
                <codeName>Compact Server</codeName>
              </serverInstanceType>
              <userData></userData>
              <accessControlGroupList>
                <accessControlGroup>
                  <accessControlGroupConfigurationNo>***9995</accessControlGroupConfigurationNo>
                  <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
                  <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
                  <isDefault>true</isDefault>
                  <createDate>2018-04-09T11:12:54+0900</createDate>
                </accessControlGroup>
              </accessControlGroupList>
              <instanceTagList/>
            </serverInstance>
          </nasVolumeServerInstanceList>
        </nasVolumeInstance>
      </nasVolumeInstanceList>
    </changeNasVolumeSizeResponse>
    

    에러 코드

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요

    HTTP Response Code리턴 코드리턴 메시지
    40010107Unable to create(change) volume anymore since creation limitation setting has been exceeded. Creation limitation(GB): {0} Created(GB) : {1}
    40023013Insufficient storage space required to create volume. Please contact your manager for troubleshooting.
    40024303{0} GB volume is in use. You can not change the volume size to less than the amount of use.

    이 문서가 도움이 되었습니까?

    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.