rebootServerInstances
    • PDF

    rebootServerInstances

    • PDF

    記事の要約

    概要

    サーバインスタンス(VM)を再起動します。

    リクエスト

    リクエストパラメータ

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

    レスポンス

    レスポンスボディ

    例示

    リクエスト例示

    GET {SERVER_API_URL}/rebootServerInstances
    ?serverInstanceNoList.1=937507
    

    レスポンス例示

    <rebootServerInstancesResponse>
      <requestId>ee5ec8d8-a700-4d5e-a2de-d59c90fb0d61</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverInstanceList>
        <serverInstance>
          <serverInstanceNo>937507</serverInstanceNo>
          <serverName>s165d2104110</serverName>
          <serverDescription></serverDescription>
          <cpuCount>1</cpuCount>
          <memorySize>2147483648</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <loginKeyName>juhoonkim</loginKeyName>
          <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
          <publicIp></publicIp>
          <privateIp>10.41.0.56</privateIp>
          <serverImageName>centos-6.6-64</serverImageName>
          <serverInstanceStatus>
            <code>RUN</code>
            <codeName>Server run state</codeName>
          </serverInstanceStatus>
          <serverInstanceOperation>
            <code>RESTA</code>
            <codeName>Server RESTART OP</codeName>
          </serverInstanceOperation>
          <serverInstanceStatusName>rebooting</serverInstanceStatusName>
          <createDate>2018-09-13T17:33:26+0900</createDate>
          <uptime>2018-11-23T17:32:23+0900</uptime>
          <serverImageProductCode>SPSW0LINUX000044</serverImageProductCode>
          <serverProductCode>SPSVRSTAND000003</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <portForwardingPublicIp>106.10.51.90</portForwardingPublicIp>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>平村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>COMPT</code>
            <codeName>Compact Server</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>
    </rebootServerInstancesResponse>
    

    エラーコード

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

    HTTP Response Codeリターンコードリターンメッセージ
    40022001{1} among {0} servers failed for operation. The problem is being handle* Please hold for a moment.
    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.
    40025041Unable 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.
    40028004Unable to perform restart command since target server is already suspended. (Other) user might have suspended the server by connecting through terminal. Please confirm the server status once again.

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

    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.