associatePublicIpWithServerInstance
    • PDF

    associatePublicIpWithServerInstance

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    グローバルIPインスタンスをサーバインスタンスに割り当てます。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    サーバインスタンスに割り当てるグローバルIPインスタンスのリージョン(Region)を決定できる
    regionCodeはgetRegionListアクションを通じて取得できる
    デフォルト:getRegionList照会結果の最初のリージョンを選択
    publicIpInstanceNoYesString- グローバルIPインスタンス番号
    サーバインスタンスに割り当てるグローバルIPインスタンス番号を決定
    publicIpInstanceNoはgetPublicIpInstanceListアクションを通じて取得できる
    serverInstanceNoYesString- サーバインスタンス番号
    グローバルIPインスタンスが割り当てられるサーバインスタンスを決定
    serverInstanceNoはgetServerInstanceListアクションを通じて取得できる
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    オプション:xml | json
    デフォルト:xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {API_URL}/associatePublicIpWithServerInstance
    ?regionCode=KR
    &publicIpInstanceNo=***7551
    &serverInstanceNo=***4299
    

    レスポンス例

    <associatePublicIpWithServerInstanceResponse>
      <requestId>18f578d6-9264-4b6d-8203-9d89c49cf85e</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <publicIpInstanceList>
        <publicIpInstance>
          <publicIpInstanceNo>***7551</publicIpInstanceNo>
          <publicIp>***.***.111.215</publicIp>
          <publicIpDescription></publicIpDescription>
          <createDate>2020-08-19T16:52:50+0900</createDate>
          <publicIpInstanceStatusName>設定中</publicIpInstanceStatusName>
          <publicIpInstanceStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </publicIpInstanceStatus>
          <serverInstanceNo>***4299</serverInstanceNo>
          <serverName>test-***</serverName>
          <privateIp>***.***.1.6</privateIp>
          <publicIpInstanceOperation>
            <code>SET</code>
            <codeName>SETTING OP</codeName>
          </publicIpInstanceOperation>
        </publicIpInstance>
      </publicIpInstanceList>
    </associatePublicIpWithServerInstanceResponse>
    

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

    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.