setSubnetNetworkAcl
    • PDF

    setSubnetNetworkAcl

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Configure the Network ACL of subnet.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the subnet that will configure the Network ACL.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    subnetNoYesStringSubnet number
    This determines the subnet that will configure the Network ACL.
    The subnetNo can be obtained through the getSubnetList action.
    networkAclNoYesStringNetwork ACL number
    The networkAclNo can be obtained through the getNetworkAclList action.
    responseFormatTypeNoStringFormat type for the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • NetworkAclList type
    NetworkAclList extends CommonResponse
    private Integer totalRows;
    private List networkAclList = new ArrayList<>();
    NetworkAcl
    private String networkAclNo;
    private String networkAclName;
    private String vpcNo;
    private CommonCode networkAclStatus;
    private String networkAclDescription;
    private Date createDate;
    private Boolean isDefault;

    Example

    Request example

    ncloud vpc setSubnetNetworkAcl --regionCode KR --subnetNo ***43 --networkAclNo ***31
    

    Response example

    <setSubnetNetworkAclResponse>
      <requestId>b2610abd-bbec-49dd-9757-2f8fc8ee9f3a</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkAclList>
        <networkAcl>
          <networkAclNo>***39</networkAclNo>
          <networkAclName>test-***</networkAclName>
          <vpcNo>***04</vpcNo>
          <networkAclStatus>
            <code>SET</code>
            <codeName>set</codeName>
          </networkAclStatus>
          <networkAclDescription></networkAclDescription>
          <createDate>2020-07-31T16:38:52+0900</createDate>
          <isDefault>false</isDefault>
        </networkAcl>
      </networkAclList>
    </setSubnetNetworkAclResponse>
    

    Was this article helpful?

    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.