MENU
      removeNetworkAclOutboundRule

        removeNetworkAclOutboundRule


        기사 요약

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

        개요

        Network ACL의 Outbound Rule 리스트를 제거합니다.

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        regionCodeNoString- 리전 코드
        Outbound Rule이 제거될 Network ACL의 리전(Region) 결정 가능
        regionCode는 getRegionList 액션을 통해 획득 가능
        Default : getRegionList 조회 결과의 첫 번째 리전을 선택
        networkAclNoYesString- Network ACL 번호
        networkAclNo는 getNetworkAclList 액션을 통해 획득 가능
        networkAclRuleList.N.priorityYesIntegerMin : 0, Max : 199- 제거할 Network ACL Rule의 우선순위
        제거할 Outbound 규칙의 우선순위를 결정
        networkAclRuleList.N.protocolTypeCodeYesString- 제거할 Network ACL Rule의 프로토콜 유형 코드
        Options : TCP | UDP | ICMP
        networkAclRuleList.N.ipBlockConditionalString- 제거할 Network ACL Rule의 접근 소스 IP 주소 블록
        ex) 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32
        networkAclRuleList.N.denyAllowGroupNoConditionalString- 제거할 Network ACL Rule의 접근 소스 Deny-Allow 그룹 번호
        접근 소스가 Deny-Allow 그룹으로 지정된 Rule을 제거할 때 입력함
        denyAllowGroupNo는 getNetworkAclDenyAllowGroupList 액션을 통해 획득 가능
        networkAclRuleList.N.portRangeConditionalString- 제거할 Network ACL Rule의 포트 범위
        ex1) 단일 포트 : 22
        ex2) 범위 지정 : 1-65535
        protocolTypeCode가 ICMP일 경우 입력하지 않음
        networkAclRuleList.N.ruleActionCodeYesString- 제거할 Network ACL Rule의 Rule 액션 코드
        Options : ALLOW | DROP
        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 removeNetworkAclOutboundRule --regionCode KR --networkAclNo ***31 --networkAclRuleList "priority='0' , protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='22-23', ruleActionCode='ALLOW'" "priority='1' , protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='24-25', ruleActionCode='ALLOW'"
        Plain text

        응답 예시

        요청 수행 후 해당 Network ACL의 Outbound Rule 리스트

        <removeNetworkAclOutboundRuleResponse>
          <requestId>ff5aaf67-b4b0-45a3-aa56-375346091480</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>0</totalRows>
          <networkAclRuleList/>
        </removeNetworkAclOutboundRuleResponse>
        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.