removeAccessControlGroupInboundRule
    • PDF

    removeAccessControlGroupInboundRule

    • PDF

    Article Summary

    Available in VPC

    Overview

    Removes the inbound rule list of ACG.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Able to determine the region from which an inbound rule is to be removed
    regionCode is obtained via getRegionList
    Default: the first region from the getRegionList search results is selected
    vpcNoYesString- VPC number
    Determines VPC of the ACG from which an inbound rule is to be removed
    vpcNo is obtained via getVpcList
    accessControlGroupNoYesString- ACG number
    accessControlGroupNo is obtained via getAccessControlGroupList
    accessControlGroupRuleList.N.protocolTypeCodeYesString- Protocol type code of the ACG rule
    Protocol number is valid within 1-254.
    Options: TCP | UDP | ICMP | 1-254
    accessControlGroupRuleList.N.ipBlockConditionalString- Access the source IP address block of the ACG rule
    You can determine the access source as either an IP address block or an ACG number
    E.g., 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32
    accessControlGroupRuleList.N.accessControlGroupSequenceConditionalString- Access the source ACG number of the ACG rule
    You can determine the access source as either an IP address block or an ACG number.
    accessControlGroupNo is obtained via getAccessControlGroupList
    accessControlGroupRuleList.N.portRangeConditionalString- Port range of ACG rule
    E.g., 1. Single port: 22
    E.g., 2. Custom range: 1-65535
    No port range is required except for protocolTypeCode TCP(6), UDP(17)
    responseFormatTypeNoString- Format type of response
    Options: xml | json
    Default: xml

    Response

    Response data type

    • AccessControlGroupRuleList type
    AccessControlGroupRuleList extends CommonResponse
    private Integer totalRows;
    private List accessControlGroupRuleList = new ArrayList<>();
    AccessControlGroupRule
    private String accessControlGroupNo;
    private ProtocolType protocolType;
    private String ipBlock;
    private String accessControlGroupSequence;
    private String portRange;
    private CommonCode accessControlGroupRuleType;
    private String accessControlGroupRuleDescription;

    Examples

    Request examples

    ncloud vserver removeAccessControlGroupInboundRule --regionCode KR --vpcNo ***04 --accessControlGroupNo ***63 --accessControlGroupRuleList "protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='81'" "protocolTypeCode='TCP', ipBlock='***.***.0.0/0', portRange='82'"
    

    Response examples

    Inbound rule list of the ACG after the request is performed

    <removeAccessControlGroupInboundRuleResponse>
      <requestId>4d82787f-c538-4a7b-a5e8-1351f7bdf592</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <accessControlGroupRuleList>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>INBND</code>
            <codeName>Inbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
      </accessControlGroupRuleList>
    </removeAccessControlGroupInboundRuleResponse>
    

    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.