removeNetworkAclInboundRule
    • PDF

    removeNetworkAclInboundRule

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Removes rules from the inbound rule list of network ACL.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Determines the region of the network ACL where the inbound rules will be removed from.
    regionCode can be obtained through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    networkAclNoYesString- Network ACL number
    networkAclNo can be obtained through the getNetworkAclList action.
    networkAclRuleList.N.priorityYesIntegerMin : 0, Max : 199- The priority of the network ACL rules to be removed
    Determines the priority of the inbound rules to be removed.
    networkAclRuleList.N.protocolTypeCodeYesString- The protocol type code of the network ACL rules to be removed
    Options : TCP | UDP | ICMP
    networkAclRuleList.N.ipBlockConditionalString- The access source IP address block of the network ACL rules to be removed
    ex) 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32
    networkAclRuleList.N.denyAllowGroupNoConditionalString- The Deny-Allow group number of access sources for the network ACL rules to be removed
    Entered when removing the rule whose access source is specified to be a Deny-Allow group.
    denyAllowGroupNo can be obtained through the getNetworkAclDenyAllowGroupList action.
    networkAclRuleList.N.portRangeConditionalString- Port range of the network ACL rules to be removed
    Example 1. Single port: 22
    Example 2. Specifying range: 1-65535
    Do not enter when protocolTypeCode is ICMP.
    networkAclRuleList.N.ruleActionCodeYesString- The rule action code of the network ACL rules to be removed
    Options : ALLOW | DROP
    responseFormatTypeNoString- Format type of the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • NetworkAclRuleList type
    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;

    Examples

    Request examples

    ncloud vpc removeNetworkAclInboundRule --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'"
    
    

    Response examples

    The inbound rule list of the network ACL after completing the request

    <removeNetworkAclInboundRuleResponse>
      <requestId>fd874399-8139-4ba0-a7a1-2f06dfa83234</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>0</totalRows>
      <networkAclRuleList/>
    </removeNetworkAclInboundRuleResponse>
    

    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.