startServerInstances
- Print
- PDF
startServerInstances
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Starts server instances (VMs).
Request
Request parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
serverInstanceNoList.N | Y | List<String> | Duplicates not allowed. | List of server instance numbers to start A server that is running cannot be started. Get available values by using the getServerInstanceList action. Example) serverInstanceNoList.1=937507&serverInstanceNoList.2=1021003 |
Response
Response body
Examples
Request example
GET {SERVER_API_URL}/startServerInstances
?serverInstanceNoList.1=1088217
Response example
<startServerInstancesResponse>
<requestId>828f194c-0405-4a9c-97d4-652d5887aca4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<serverInstanceList>
<serverInstance>
<serverInstanceNo>1088217</serverInstanceNo>
<serverName>s167545541a3</serverName>
<serverDescription></serverDescription>
<cpuCount>4</cpuCount>
<memorySize>8589934592</memorySize>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX32</code>
<codeName>Linux 32 Bit</codeName>
</platformType>
<loginKeyName>juhoon-kim</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>START</code>
<codeName>Server START OP</codeName>
</serverInstanceOperation>
<serverInstanceStatusName>booting</serverInstanceStatusName>
<createDate>2018-11-27T17:42:13+0900</createDate>
<uptime>2018-11-27T17:46:02+0900</uptime>
<serverImageProductCode>SPSW0LINUX000032</serverImageProductCode>
<serverProductCode>SPSVRSTAND000005</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>
</startServerInstancesResponse>
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 code | Return code | Return message |
---|---|---|
400 | 22001 | {1} among {0} servers failed for operation. The problem is being handled. Please hold for a moment. |
400 | 24109 | The input parameter instance number is invalid |
400 | 24120 | The input parameter server instance number is invalid. |
400 | 25014 | Unable to control the server since (other) user is currently operating storage allocated to the server. |
400 | 25041 | Unable to perform operation command since (other) user is either manipulating the target server or a problem in target server. Please confirm server status once again. |
400 | 28001 | Unable to perform start command since target server is currently in operation. Please confirm the server status. |
Was this article helpful?