terminateServerInstances
    • PDF

    terminateServerInstances

    • PDF

    記事の要約

    概要

    サーバインスタンス(VM)を返却(Terminate)します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    serverInstanceNoList.NYesList<String>重複不可返却するサーバインスタンス番号リスト
    serverInstanceNoはgetServerInstanceListアクションを通じて取得できます。
    ex) serverInstanceNoList.1=1088217&serverInstanceNoList.2=1021003

    レスポンス

    レスポンスボディ

    例示

    リクエスト例示

    GET {SERVER_API_URL}/terminateServerInstances
    ?serverInstanceNoList.1=1088217
    

    レスポンス例示

    <terminateServerInstancesResponse>
       <requestId>1ee84982-5712-44cb-ac99-243e59dc8eb1</requestId>
       <returnCode>0</returnCode>
       <returnMessage>success</returnMessage>
       <totalRows>1</totalRows>
       <serverInstanceList>
          <serverInstance>
             <serverInstanceNo>340843</serverInstanceNo>
             <serverName>svr-9b467c9f6c75360</serverName>
             <serverDescription />
             <cpuCount>2</cpuCount>
             <memorySize>4294967296</memorySize>
             <baseBlockStorageSize>53687091200</baseBlockStorageSize>
             <platformType>
                <code>LNX32</code>
                <codeName>Linux 32 Bit</codeName>
             </platformType>
             <loginKeyName>cloudqa</loginKeyName>
             <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
             <publicIp />
             <privateIp>10.113.178.202</privateIp>
             <serverImageName>centos-6.3-32</serverImageName>
             <serverInstanceStatus>
                <code>NSTOP</code>
                <codeName>Server normal stopped state</codeName>
             </serverInstanceStatus>
             <serverInstanceOperation>
                <code>TERMT</code>
                <codeName>Server TERMINATE OP</codeName>
             </serverInstanceOperation>
             <serverInstanceStatusName>terminating</serverInstanceStatusName>
             <createDate>2017-07-27T04:08:39+0900</createDate>
             <uptime>2017-07-27T04:11:32+0900</uptime>
             <serverImageProductCode>SPSW0LINUX000032</serverImageProductCode>
             <serverProductCode>SPSVRSTAND000004</serverProductCode>
             <isProtectServerTermination>false</isProtectServerTermination>
             <portForwardingPublicIp>192.168.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 />
             <initScriptNo></initScriptNo>
             <accessControlGroupList>
                <accessControlGroup>
                   <accessControlGroupConfigurationNo>1038</accessControlGroupConfigurationNo>
                   <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
                   <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
                   <isDefaultGroup>true</isDefaultGroup>
                   <createDate>2013-12-03T10:37:39+0900</createDate>
                </accessControlGroup>
             </accessControlGroupList>
          </serverInstance>
       </serverInstanceList>
    </terminateServerInstancesResponse>
    

    エラーコード

    以下のエラーコードは、このアクション(Action)で特徴的に発生するエラーです。共通的に発生するエラーに対する詳細な説明はNAVER Cloud Platform APIをご参考ください。

    HTTP Response Codeリターンコードリターンメッセージ
    40010713Not found contract information. Please check your input parameter.
    40010501After deleting additional storage, please try again. Additional storage must be deleted by customer
    40021001Unable to perform returning process due to set return protection. Server name : {0}
    40023006You cannot request for server return and creation at the same time. Please make one request at a time.
    40024073Unable to destroy the server since a public IP is associated with the server. First, please disassociate a public IP from the server. publicIpInstanceNo = {0}
    40024103Input parameter value is invalid. The minimum length of the name is 3 bytes and the maximum, 30 bytes.
    40024105Input parameter value is invalid. The name must contain only lower case letters, digits, and hyphen('-'); it must start with a letter and end with a letter or digit.
    40024109The input parameter instance number is invalid
    40024120The input parameter server instance number is invalid.
    40025014Unable to control the server since (other) user is currently operating storage allocated to the server.
    40025015Unable to delete since (other) user is currently operating the server or creating server image from the server.
    40025016Official IP is currently being allocated or deallocated to the target server. Please return the server after the task is complete.
    40025021The settings of load balancer related to target server is currently being modified. Please return the server after the task is complete.
    40025022Unable to return the server since (other) user is either operating target server or an error in the target server. Please confirm the status of server/ storage.
    40025023Unable to return the server since (other) user is either operating target server or an error in default storage of the target server. Please confirm the status of server/ storage.
    40025024Unable to return the server since (other) user is either operating target server or storage allocated to sever. Please confirm the status of server/ storage.
    40025027You may not change since (other) user is operating the target load balance.
    40025050(Other)Unable to operate load balancer since use is manipulating the applying server.

    この記事は役に立ちましたか?

    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.