MENU
      unassignSecondaryIps

        unassignSecondaryIps


        記事の要約

        VPC環境で利用できます。

        概要

        ネットワークインターフェースに割り当てられたセカンダリIPを解除します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoString- リージョンコード
        セカンダリIPの割り当てを解除するネットワークインターフェースのリージョン(Region)を決定できる
        regionCodeはgetRegionListアクションを通じて取得できる
        デフォルト:getRegionList照会結果の最初のリージョンを選択
        networkInterfaceNoYesString- セカンダリIPの割り当てを解除するネットワークインターフェース番号
        networkInterfaceNoはgetNetworkInterfaceListアクションを通じて取得できる
        secondaryIpList.NYesList- 割り当てを解除するセカンダリIPリスト
        ネットワークインターフェースに割り当てられているsecondaryIpはgetNetworkInterfaceListアクションを通じて取得できる
        例:secondaryIpList.1=192.168.0.1&secondaryIpList.2=192.168.0.2
        割り当てられていないIPを解除した場合、エラーは発生しない
        responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
        オプション:xml | json
        デフォルト:xml

        レスポンス

        レスポンスボディ

        リクエスト例

        GET {API_URL}/unassignSecondaryIps
        ?regionCode=KR
        &networkInterfaceNo=***87
        &secondaryIpList.1=***.***.1.8
        HTTP

        レスポンス例

        <unassignSecondaryIpsResponse>
          <requestId>73caedc4-073d-4001-a363-efedd90831be</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <networkInterfaceList>
            <networkInterface>
              <networkInterfaceNo>***87</networkInterfaceNo>
              <networkInterfaceName>test-***</networkInterfaceName>
              <subnetNo>***43</subnetNo>
              <deleteOnTermination>true</deleteOnTermination>
              <isDefault>true</isDefault>
              <deviceName>eth0</deviceName>
              <networkInterfaceStatus>
                <code>USED</code>
                <codeName>used </codeName>
              </networkInterfaceStatus>
              <instanceType>
                <code>VSVR</code>
                <codeName>Server (VPC)</codeName>
              </instanceType>
              <instanceNo>***4299</instanceNo>
              <ip>***.***.1.6</ip>
              <macAddress>F2:20:***:***:8A:F5</macAddress>
              <accessControlGroupNoList>
                <accessControlGroupNo>***63</accessControlGroupNo>
              </accessControlGroupNoList>
              <networkInterfaceDescription></networkInterfaceDescription>
              <secondaryIpList>
                <secondaryIp>***.***.1.7</secondaryIp>
              </secondaryIpList>
            </networkInterface>
          </networkInterfaceList>
        </unassignSecondaryIpsResponse>
        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.