getNetworkAclRuleList
    • PDF

    getNetworkAclRuleList

    • PDF

    Article Summary

    VPC 환경에서 이용 가능합니다.

    개요

    Network ACL 번호를 이용하여 Network ACL의 Rule 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    Network ACL의 Rule 리스트가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    networkAclNoYesString- Network ACL 번호
    networkAclNo는 getNetworkAclList 액션을 통해 획득 가능
    networkAclRuleTypeCodeNoString- Network ACL Rule 유형 코드
    Network ACL Rule 유형 코드로 필터링하여 검색 가능
    Options : INBND (Inbound 규칙) | OTBND (Outbound 규칙)
    Default : Network ACL의 모든 Rule을 조회함
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • NetworkAclRuleList 타입
    NetworkAclRuleList extends CommonResponse
    private Integer totalRows;
    private List networkAclRuleList = new ArrayList<>();
    NetworkAclRule
    private String networkAclNo;
    private Integer priority;
    private CommonCode protocolType;
    private String portRange;
    private CommonCode ruleAction;
    private Date createDate;
    private String ipBlock;
    private String denyAllowGroupNo;
    private CommonCode networkAclRuleType;
    private String networkAclRuleDescription;

    예시

    요청 예시

    ncloud vpc getNetworkAclRuleList --regionCode FKR --networkAclNo ***31
    

    응답 예시

    <getNetworkAclRuleListResponse>
      <requestId>952f10f8-e8a8-4aae-b427-f1d74529db46</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkAclRuleList>
        <networkAclRule>
          <networkAclNo>***31</networkAclNo>
          <priority>0</priority>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
          </protocolType>
          <portRange>22</portRange>
          <ruleAction>
            <code>ALLOW</code>
            <codeName>Allow</codeName>
          </ruleAction>
          <createDate>2020-07-31T18:29:38+0900</createDate>
          <ipBlock>***.***.0.0/0</ipBlock>
          <denyAllowGroupNo/>
          <networkAclRuleType>
            <code>INBND</code>
            <codeName>Inbound</codeName>
          </networkAclRuleType>
          <networkAclRuleDescription></networkAclRuleDescription>
        </networkAclRule>
      </networkAclRuleList>
    </getNetworkAclRuleListResponse>
    

    이 문서가 도움이 되었습니까?

    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.