changeServerInstanceSpec
    • PDF

    changeServerInstanceSpec

    • PDF

    기사 요약

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

    개요

    정지 상태의 서버 인스턴스(VM) 스펙을 변경합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    스펙을 변경할 서버 인스턴스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    serverInstanceNoYesString- 스펙을 변경할 서버 인스턴스 번호
    serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능
    serverProductCodeYesString- 서버 상품 코드
    변경할 서버의 스펙을 결정함
    서버 상품 중 동일한 상품 유형(productType), 동일한 디스크 상세 유형(diskDetailType[HDD, SSD]) 내에서만 변경 가능
    serverProductCode는 getServerProductList 액션을 통해 획득 가능
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 바디

    예시

    요청 예시

    GET {API_URL}/changeServerInstanceSpec
    ?regionCode=KR
    &serverInstanceNo=***4299
    &serverProductCode=SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G001
    

    응답 예시

    <changeServerInstanceSpecResponse>
      <requestId>d273a622-50b6-477f-9876-e4ed6845b3eb</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverInstanceList>
        <serverInstance>
          <serverInstanceNo>***4299</serverInstanceNo>
            <serverName>test-***</serverName>
            <serverDescription></serverDescription>
            <cpuCount>2</cpuCount>
            <memorySize>4294967296</memorySize>
            <platformType>
              <code>LNX64</code>
              <codeName>Linux 64 Bit</codeName>
            </platformType>
            <loginKeyName>test-***</loginKeyName>
            <publicIpInstanceNo></publicIpInstanceNo>
            <publicIp></publicIp>
          <serverInstanceStatus>
            <code>NSTOP</code>
            <codeName>Server normal stopped state</codeName>
          </serverInstanceStatus>
          <serverInstanceOperation>
            <code>CHNG</code>
            <codeName>Server SPEC CHANGE OP</codeName>
          </serverInstanceOperation>
          <serverInstanceStatusName>changingSpec</serverInstanceStatusName>
          <createDate>2020-08-24T09:41:23+0900</createDate>
          <uptime>2020-08-24T09:44:24+0900</uptime>
          <serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
          <serverProductCode>SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G001</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <zoneCode>KR-1</zoneCode>
          <regionCode>KR</regionCode>
          <vpcNo>***04</vpcNo>
          <subnetNo>***43</subnetNo>
          <networkInterfaceNoList>
            <networkInterfaceNo>***87</networkInterfaceNo>
          </networkInterfaceNoList>
          <initScriptNo>***44</initScriptNo>
          <serverInstanceType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </serverInstanceType>
          <baseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </baseBlockStorageDiskType>
          <baseBlockStorageDiskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </baseBlockStorageDiskDetailType>
          <placementGroupNo>***61</placementGroupNo>
          <placementGroupName>test-***</placementGroupName>
        </serverInstance>
      </serverInstanceList>
    </changeServerInstanceSpecResponse>
    

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

    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.