deleteNatGatewayInstance
    • PDF

    deleteNatGatewayInstance

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    NAT Gatewayインスタンスを削除します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制限事項説明
    regionCodeNoString- リージョンコード
    削除する NAT Gatewayインスタンスのリージョン(Region)を決定可能
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    natGatewayInstanceNoYesString- 削除する NAT Gatewayインスタンス番号
    natGatewayInstanceNoは、getNatGatewayInstanceListアクションを通じて取得可能
    returnPublicIpInstanceNoBoolean- NAT Gatewayサービスの Public NAT Gatewayに割り当てられた Public IP Instanceを一緒に返却(Default: true)
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

    レスポンスデータのタイプ

    • NatGatewayInstanceListのタイプ
    NatGatewayInstanceList extends CommonResponse
    private Integer totalRows;
    private List natGatewayInstanceList = new ArrayList<>();
    NatGatewayInstance
    private String vpcNo;
    private String vpcName;
    private String natGatewayInstanceNo;
    private String natGatewayName;
    private String publicIp;
    private CommonCode natGatewayInstanceStatus;
    private String natGatewayInstanceStatusName;
    private CommonCode natGatewayInstanceOperation;
    private Date createDate;
    private String natGatewayDescription;
    private String zoneCode;

    リクエスト例

    ncloud vpc deleteNatGatewayInstance --regionCode KR --natGatewayInstanceNo ***9734
    

    レスポンス例

    <deleteNatGatewayInstanceResponse>
      <requestId>baac40a2-9a13-4fd0-9e53-3af315f29445</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <natGatewayInstanceList>
        <natGatewayInstance>
          <vpcNo>***04</vpcNo>
          <vpcName>test-***</vpcName>
          <natGatewayInstanceNo>***9734</natGatewayInstanceNo>
          <natGatewayName>test-***</natGatewayName>
          <publicIp>***.***.109.101</publicIp>
          <natGatewayInstanceStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </natGatewayInstanceStatus>
          <natGatewayInstanceStatusName>運用中</natGatewayInstanceStatusName>
          <natGatewayInstanceOperation>
            <code>NULL</code>
            <codeName>NULL OP</codeName>
          </natGatewayInstanceOperation>
          <createDate>2020-08-07T16:05:52+0900</createDate>
          <natGatewayDescription></natGatewayDescription>
          <zoneCode>KR-1</zoneCode>
        </natGatewayInstance>
      </natGatewayInstanceList>
    </deleteNatGatewayInstanceResponse>
    

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

    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.