MENU
      changeServerInstanceSpec

        changeServerInstanceSpec


        記事の要約

        VPC環境で利用できます。

        概要

        停止状態のサーバインスタンス(VM)スペックを変更します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoString- リージョンコード
        スペックを変更するサーバインスタンスのリージョン(Region)を決定できる
        regionCodeは、getRegionListアクションを通じて取得できる
        Default: getRegionList照会結果の最初のリージョンを選択する
        serverInstanceNoYesString- スペックを変更するサーバインスタンス番号
        serverInstanceNoは、getServerInstanceListアクションを通じて取得できる
        serverProductCodeConditionalString- サーバ商品コード
        変更するサーバのスペックを決定する
        サーバ商品の中で同じ商品タイプ(productType)、同じディスクの詳細タイプ(diskDetailType[HDD、SSD])内でのみ変更できる
        serverProductCodeは、getServerProductListアクションを通じて取得できる
        serverSpecCodeConditionalString- サーバスペックコード
        変更するサーバのスペックを決定する
        サーバ商品の中で同じ商品タイプ(productType)、同じディスクの詳細タイプ(diskDetailType[HDD、SSD])内でのみ変更できる
        serverSpecCodeは、getServerSpecListアクションを通じて取得できる
        serverProductCodeと serverSpecCodeのうちの1つの値が必須です。
        responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
        Options : xml | json
        Default : xml

        レスポンス

        レスポンスボディ

        リクエスト例

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

        レスポンス例

        <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>
        XML

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

        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.