getNetworkAclList
    • PDF

    getNetworkAclList

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Query the list of Network ACLs.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region where the Network ACL list will be queried.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    networkAclNameNoStringThe name of Network ACL
    You can search by filtering with the Network ACL name.
    networkAclStatusCodeNoStringNetwork ACL status code
    You can search by filtering with the Network ACL status code.
    Options : INIT | SET | RUN | TERMTING
    networkAclNoList.NNoList<String>List of Network ACL numbers
    You can search by filtering with the Network ACL number.
    The networkAclNo can be obtained through the getNetworkAclList action.
    ex) --networkAclNoList 1234 2345
    pageNoNoIntegerThe page number of the paged results
    The results can shown as pages using pageNo and pageSize.
    pageSizeConditionalIntegerThe size of each page to be displayed at the time of paging
    The results can shown as pages using pageNo and pageSize.
    Enter it when entering pageNo.
    vpcNoNoStringVPC number
    You can search by filtering with the VPC number.
    vpcNo can be obtained through the getVpcList 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 getNetworkAclList --regionCode KR --networkAclName test-*** --networkAclStatusCode RUN --networkAclNoList ***31 --vpcNo ***04
    

    Response example

    <getNetworkAclListResponse>
      <requestId>dc9325b1-a000-4db5-ac28-e33819b910eb</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkAclList>
        <networkAcl>
          <networkAclNo>***31</networkAclNo>
          <networkAclName>test-***</networkAclName>
          <vpcNo>***04</vpcNo>
          <networkAclStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </networkAclStatus>
          <networkAclDescription></networkAclDescription>
          <createDate>2020-07-31T14:29:14+0900</createDate>
          <isDefault>false</isDefault>
        </networkAcl>
      </networkAclList>
    </getNetworkAclListResponse>
    

    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.