MENU
      setNetworkAclDenyAllowGroupIpList

        setNetworkAclDenyAllowGroupIpList


        記事の要約

        VPC環境で利用できます。

        概要

        ネットワークACL Deny-AllowグループのIPリストを設定します。

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoString- リージョンコード
        IPリストを設定するネットワークACL Deny-Allowグループのリージョン(Region)を決定できる
        regionCodeは、getRegionListアクションを通じて取得可能
        デフォルト:getRegionList照会結果の最初のリージョンを選択
        networkAclDenyAllowGroupNoYesString- ネットワークACL Deny-Allowグループ番号
        networkAclDenyAllowGroupNoは、getNetworkAclDenyAllowGroupListアクションを通じて取得可能
        ipList.NNoList- IPリスト
        Deny-Allowグループに登録するIPアドレスを入力
        最大100個のIPを登録でき、IPアドレスは重複不可
        同じVPC内では、重複したIPアドレスを8個まで登録できる
        例) ipList.1=10.0.0.1&ipList.2=10.0.0.2
        responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
        オプション: xml | json
        デフォルト: xml

        レスポンス

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

        • NetworkAclDenyAllowGroupListタイプ
        NetworkAclDenyAllowGroupList extends CommonResponse
        private Integer totalRows;
        private List networkAclDenyAllowGroupList = new ArrayList<>();
        NetworkAclDenyAllowGroup
        private String networkAclDenyAllowGroupNo;
        private String networkAclDenyAllowGroupName;
        private CommonCode networkAclDenyAllowGroupStatus;
        private String vpcNo;
        private IpList ipList;
        private String networkAclDenyAllowGroupDescription;
        private Date createDate;
        private Boolean isApplied;
        IpList
        private List ipList = new ArrayList<>();

        リクエスト例

        ncloud vpc setNetworkAclDenyAllowGroupIpList --regionCode KR --networkAclDenyAllowGroupNo ***40 --ipList 10.0.0.1
        Plain text

        レスポンス例

        <setNetworkAclDenyAllowGroupIpListResponse>
          <requestId>84a4afa8-78aa-43b6-9a15-2bc25c3a7e7c</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <networkAclDenyAllowGroupList>
            <networkAclDenyAllowGroup>
              <networkAclDenyAllowGroupNo>***40</networkAclDenyAllowGroupNo>
              <networkAclDenyAllowGroupName>test-***</networkAclDenyAllowGroupName>
              <networkAclDenyAllowGroupStatus>
                <code>RUN</code>
                <codeName>run</codeName>
              </networkAclDenyAllowGroupStatus>
              <vpcNo>***04</vpcNo>
              <ipList>
                <ip>10.0.0.1</ip>
              </ipList>
              <networkAclDenyAllowGroupDescription></networkAclDenyAllowGroupDescription>
              <createDate>2021-01-25T19:40:48+0900</createDate>
              <isApplied>false</isApplied>
            </networkAclDenyAllowGroup>
          </networkAclDenyAllowGroupList>
        </setNetworkAclDenyAllowGroupIpListResponse>
        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.