createPublicIpInstance
    • PDF

    createPublicIpInstance

    • PDF

    記事の要約

    概要

    グローバル IPアドレスインスタンスを作成します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制限事項説明
    serverInstanceNoNoString- グローバル IPアドレスを作成して割り当てるサーバインスタンス番号
    グローバル IPアドレスが割り当て可能な serverInstanceNoは getPublicIpTargetServerInstanceListアクションを通じて取得可能
    publicIpDescriptionNoString最小: 1, 最大: 1000グローバル IPアドレスの説明
    regionNoNoString- リージョン番号
    グローバル IPアドレスが作成される regionNoは getRegionListアクションを通じて取得可能
    zoneNoNoString- ZONE番号
    グローバル IPアドレスが作成される zoneNoは getZoneListアクションを通じて取得可能
    デフォルト: そのリージョンの最初の ZONEを選択
    responseFormatTypeNoString- レスポンス結果の形式タイプ
    オプション: xml | json
    デフォルト: xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {SERVER_API_URL}/createPublicIpInstance
    

    レスポンス例

    <createPublicIpInstanceResponse>
      <requestId>2f8ca49e-0532-43f2-884d-d7f8a737cac4</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <publicIpInstanceList>
        <publicIpInstance>
          <publicIpInstanceNo>1089236</publicIpInstanceNo>
          <publicIp>49.236.137.138</publicIp>
          <publicIpDescription></publicIpDescription>
          <createDate>2018-11-28T14:38:55+0900</createDate>
          <publicIpInstanceStatusName>created</publicIpInstanceStatusName>
          <publicIpInstanceStatus>
            <code>CREAT</code>
            <codeName>NET CREATE state</codeName>
          </publicIpInstanceStatus>
          <publicIpInstanceOperation>
            <code>NULL</code>
            <codeName>NET NULL OP</codeName>
          </publicIpInstanceOperation>
          <publicIpKindType>
            <code>GEN</code>
            <codeName>General</codeName>
          </publicIpKindType>
          <serverInstanceAssociatedWithPublicIp/>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>坪村ゾーン</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
        </publicIpInstance>
      </publicIpInstanceList>
    </createPublicIpInstanceResponse>
    
    

    エラーコード

    以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーについての詳細説明は、NAVERクラウドプラットフォーム APIをご参照ください。

    HTTP Response Codeリターンコードリターンメッセージ
    40010101Unable to request for public IP. You may request as many public IPs as the number of server in possession.
    40024300The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes.
    40024094The line for internet access of server does not correspond with which of Public IP.
    40025101The server is currently being operated. so public IP is unable to be associated with the server.
    40028100Another public IP is already associated with the 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.