changeNasVolumeSize
    • PDF

    changeNasVolumeSize

    • PDF

    기사 요약

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

    개요

    NAS 볼륨 사이즈 변경

    설명

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

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    nasVolumeInstanceNoYesString- NAS 볼륨 인스턴스 번호
    nasVolumeInstanceNo는 getNasVolumeInstanceList 액션을 통해서 얻으실 수 있음
    volumeSizeYesInteger500GB 이상 / 10,000GB 이하- NAS볼륨용량
    500GB 이상 | 10,000GB 이하
    isAsyncNoBoolean- Async 여부
    Options : true | false
    Default : false

    응답 데이터 타입

    • NasVolumeInstanceList 타입
    NasVolumeInstanceList extends CommonResponse
    private int totalRows;
    private List<NasVolumeInstance> nasVolumeInstanceList = new ArrayList<NasVolumeInstance>();
    NasVolumeInstance
    private String nasVolumeInstanceNo;
    private CommonCode nasVolumeInstanceStatus;
    private CommonCode nasVolumeInstanceOperation;
    private String nasVolumeInstanceStatusName;
    private Date createDate;
    private String nasVolumeInstanceDescription;
    private String mountInformation;
    private CommonCode volumeAllotmentProtocolType;
    private String volumeName;
    private long volumeTotalSize;
    private long volumeSize;
    private float snapshotVolumeConfigurationRatio;
    private CommonCode snapshotVolumeConfigPeriodType;
    private CommonCode snapshotVolumeConfigDayOfWeekType;
    private Integer snapshotVolumeConfigTime;
    private long snapshotVolumeSize;
    private Boolean isSnapshotConfiguration;
    private Boolean isEventConfiguration;
    private Region region;
    private Zone zone;
    private Boolean isReturnProtection;
    private List<NasVolumeInstanceCustomIp> nasVolumeInstanceCustomIpList = new ArrayList<NasVolumeInstanceCustomIp>();
    private List<ServerInstance> nasVolumeServerInstanceList = new ArrayList<ServerInstance>();

    예시

    호출

    ncloud server changeNasVolumeSize --nasVolumeInstanceNo ***7367 --volumeSize 20
    

    응답

    {
      "changeNasVolumeSizeResponse": {
        "requestId": "49827c87-8a00-4387-a72d-a142a1100bd9",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "nasVolumeInstanceList": [
          {
            "nasVolumeInstanceNo": "***7367",
            "nasVolumeInstanceStatus": {
              "code": "CREAT",
              "codeName": "NAS create"
            },
            "nasVolumeInstanceOperation": {
              "code": "NULL",
              "codeName": "NAS NULL OP"
            },
            "nasVolumeInstanceStatusName": "created",
            "createDate": "2018-02-23T15:49:22+0900",
            "nasVolumeInstanceDescription": "",
            "mountInformation": "***.***.84.81:/n***212_mktest",
            "volumeAllotmentProtocolType": {
              "code": "NFS",
              "codeName": "NFS"
            },
            "volumeName": "n***212_mktest",
            "volumeTotalSize": 21474836480,
            "volumeSize": 21474836480,
            "snapshotVolumeConfigurationRatio": 0.0,
            "snapshotVolumeSize": 0,
            "isSnapshotConfiguration": false,
            "isEventConfiguration": false,
            "region": {
              "regionNo": "1",
              "regionCode": "KR",
              "regionName": "Korea"
            },
            "zone": {
              "zoneNo": "2",
              "zoneName": "KR-1",
              "zoneCode": "KR-1",
              "zoneDescription": "KR-1 zone",
              "regionNo" : "1"
            },
            "isReturnProtection": false,
            "nasVolumeInstanceCustomIpList": [],
            "nasVolumeServerInstanceList": [
              {
                "serverInstanceNo": "***7364",
                "serverName": "ncloud-mktest3",
                "serverDescription": "",
                "cpuCount": 1,
                "memorySize": 2147483648,
                "baseBlockStorageSize": 53687091200,
                "platformType": {
                  "code": "LNX64",
                  "codeName": "Linux 64 Bit"
                },
                "loginKeyName": "***sw",
                "isFeeChargingMonitoring": false,
                "publicIp": "",
                "privateIp": "***.***.245.164",
                "serverImageName": "centos-7.3-64",
                "serverInstanceStatus": {
                  "code": "RUN",
                  "codeName": "Server RUN State"
                },
                "serverInstanceOperation": {
                  "code": "NULL",
                  "codeName": "Server NULL OP"
                },
                "serverInstanceStatusName": "running",
                "createDate": "2018-02-23T15:44:59+0900",
                "uptime": "2018-02-23T15:47:24+0900",
                "serverImageProductCode": "SPSW0LINUX000046",
                "serverProductCode": "SPSVRSTAND000003",
                "isProtectServerTermination": false,
                "portForwardingPublicIp": "***.***.120.111",
                "zone": {
                  "zoneNo": "2",
                  "zoneName": "KR-1",
                  "zoneDescription": "KR-1 zone"
                },
                "region": {
                  "regionNo": "1",
                  "regionCode": "KR",
                  "regionName": "Korea"
                },
                "baseBlockStorageDiskType": {
                  "code": "NET",
                  "codeName": "Network Storage"
                },
                "baseBlockStroageDiskDetailType": {
                  "code": "HDD",
                  "codeName": "HDD"
                },
                "userData": "",
                "accessControlGroupList": [
                  {
                    "accessControlGroupConfigurationNo": "***1038",
                    "accessControlGroupName": "ncloud-default-acg",
                    "accessControlGroupDescription": "Default AccessControlGroup",
                    "isDefault": true,
                    "createDate": "2013-12-03T10:37:39+0900"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <changeNasVolumeSizeResponse>
      <requestId>49827c87-8a00-4387-a72d-a142a1100bd9</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <nasVolumeInstanceList>
        <nasVolumeInstanceNo>***7367</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-02-23T15:49:22+0900</createDate>
        <nasVolumeInstanceDescription></nasVolumeInstanceDescription>
        <mountInformation>***.***.84.81:/n***212_mktest</mountInformation>
        <volumeAllotmentProtocolType>
          <code>NFS</code>
          <codeName>NFS</codeName>
        </volumeAllotmentProtocolType>
        <volumeName>n***212_mktest</volumeName>
        <volumeTotalSize>21474836480</volumeTotalSize>
        <volumeSize>21474836480</volumeSize>
        <snapshotVolumeConfigurationRatio>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>
          <serverInstanceNo>***7364</serverInstanceNo>
          <serverName>ncloud-mktest3</serverName>
          <serverDescription></serverDescription>
          <cpuCount>1</cpuCount>
          <memorySize>2147483648</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <loginKeyName>ysw</loginKeyName>
          <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
          <publicIp></publicIp>
          <privateIp>***.***.245.164</privateIp>
          <serverImageName>centos-7.3-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-02-23T15:44:59+0900</createDate>
          <uptime>2018-02-23T15:47:24+0900</uptime>
          <serverImageProductCode>SPSW0LINUX000046</serverImageProductCode>
          <serverProductCode>SPSVRSTAND000003</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <portForwardingPublicIp>***.***.120.111</portForwardingPublicIp>
          <zone>
            <zoneNo>2</zoneNo>
            <zoneName>KR-1</zoneName>
            <zoneDescription>KR-1 zone</zoneDescription>
          </zone>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <baseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </baseBlockStorageDiskType>
          <baseBlockStroageDiskDetailType>
            <code>HDD</code>
            <codeName>HDD</codeName>
          </baseBlockStroageDiskDetailType>
          <userData></userData>
          <accessControlGroupList>
            <accessControlGroupConfigurationNo>***1038</accessControlGroupConfigurationNo>
            <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
            <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
            <isDefault>true</isDefault>
            <createDate>2013-12-03T10:37:39+0900</createDate>
          </accessControlGroupList>
        </nasVolumeServerInstanceList>
      </nasVolumeInstanceList>
    </changeNasVolumeSizeResponse>
    

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

    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.