MENU
      changeServerInstanceSpec

        changeServerInstanceSpec


        Article summary

        Overview

        Changes server instance (VM) specifications.

        Request

        Request parameters

        ParameterRequiredTypeLimitationsDescription
        serverInstanceNoYStringServer instance number that you want to change specifications for.
        A server that is running cannot be changed.
        Get available values by using the getServerInstanceList action.
        serverProductCodeYStringMin: 1, Max: 20Get available values by using the getServerProductList action.

        Response

        Response body

        Examples

        Request example

        GET {SERVER_API_URL}/changeServerInstanceSpec
        ?serverInstanceNo=1088217
        &serverProductCode=SPSVRSTAND000005
        HTTP

        Response example

        <changeServerInstanceSpecResponse>
          <requestId>b059fc08-fb8d-40a0-b28b-b0093549f96f</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <serverInstanceList>
            <serverInstance>
              <serverInstanceNo>1088217</serverInstanceNo>
              <serverName>s167545541a3</serverName>
              <serverDescription></serverDescription>
              <cpuCount>2</cpuCount>
              <memorySize>4294967296</memorySize>
              <baseBlockStorageSize>53687091200</baseBlockStorageSize>
              <platformType>
                <code>LNX32</code>
                <codeName>Linux 32 Bit</codeName>
              </platformType>
              <loginKeyName>penguin</loginKeyName>
              <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
              <publicIp></publicIp>
              <privateIp>10.41.83.168</privateIp>
              <serverImageName>centos-6.3-32</serverImageName>
              <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>2018-11-27T17:42:13+0900</createDate>
              <uptime>2018-11-27T17:46:02+0900</uptime>
              <serverImageProductCode>SPSW0LINUX000032</serverImageProductCode>
              <serverProductCode>SPSVRSTAND000004</serverProductCode>
              <isProtectServerTermination>false</isProtectServerTermination>
              <portForwardingPublicIp>106.10.51.90</portForwardingPublicIp>
              <zone>
                <zoneNo>3</zoneNo>
                <zoneName>KR-2</zoneName>
                <zoneCode>KR-2</zoneCode>
                <zoneDescription>Pyeongchon 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>STAND</code>
                <codeName>Standard</codeName>
              </serverInstanceType>
              <userData></userData>
              <initScriptNo></initScriptNo>
              <accessControlGroupList>
                <accessControlGroup>
                  <accessControlGroupConfigurationNo>39995</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>
          </serverInstanceList>
        </changeServerInstanceSpecResponse>
        XML

        Error codes

        Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.

        HTTP response codeReturn codeReturn message
        40010500Unable to use server specification change function. You may freely change server specification on paid servers.
        40010501After deleting additional storage, please try again. Additional storage must be deleted by customer.
        40010502Selected server does not allow spec change.
        40010503You may not change to spec of same level.
        40010504You may not change the spec to a different disk type.
        40024109The input parameter instance number is invalid.
        40024120The input parameter server instance number is invalid.
        40025013Unable to change server specification since (other) user is either operating the target server or due to an error in target server. Please check the server status.
        40025014Unable to control the server since (other) user is currently operating storage allocated to the server.
        40025018Operation is currently unavailable since (other) user is either operating server or creating server image of the server.

        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.