Skip to content

ACLRuleProps

Properties for defining a ACLRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-aclrule

Initializer

using AlibabaCloud.SDK.ROS.CDK.Sag;
new ACLRuleProps {
    object AclId,
    object DestCidr,
    object DestPortRange,
    object Direction,
    object IpProtocol,
    object Policy,
    object SourceCidr,
    object SourcePortRange,
    object Description = null,
    object DpiGroupIds = null,
    object DpiSignatureIds = null,
    object Name = null,
    object Priority = null,
    object Type = null
};

Properties

Name Type Description
AclId object Property aclId: Access control ID.
DestCidr object Property destCidr: Destination address, CIDR format and IP address range in IPv4 format.
DestPortRange object Property destPortRange: Destination port range, 80\/80.
Direction object Property direction: Regular direction.
IpProtocol object Property ipProtocol: Protocol, not case sensitive.
Policy object Property policy: Access: accept|drop.
SourceCidr object Property sourceCidr: Source address, CIDR format and IP address range in IPv4 format.
SourcePortRange object Property sourcePortRange: Source port range, 80\/80.
Description object Property description: Rule description information, ranging from 1 to 512 characters.
DpiGroupIds object Property dpiGroupIds: The ID of the application group.
DpiSignatureIds object Property dpiSignatureIds: The ID of the application.
Name object Property name: The name of the ACL rule.
Priority object Property priority: Priority, ranging from 1 to 100.
Type object Property type: The type of the ACL rule: Valid values: LAN: The ACL rule controls traffic of private IP addresses.

AclIdRequired

public object AclId { get; set; }
  • Type: object

Property aclId: Access control ID.


DestCidrRequired

public object DestCidr { get; set; }
  • Type: object

Property destCidr: Destination address, CIDR format and IP address range in IPv4 format.


DestPortRangeRequired

public object DestPortRange { get; set; }
  • Type: object

Property destPortRange: Destination port range, 80\/80.


DirectionRequired

public object Direction { get; set; }
  • Type: object

Property direction: Regular direction.

Value: in|out


IpProtocolRequired

public object IpProtocol { get; set; }
  • Type: object

Property ipProtocol: Protocol, not case sensitive.


PolicyRequired

public object Policy { get; set; }
  • Type: object

Property policy: Access: accept|drop.


SourceCidrRequired

public object SourceCidr { get; set; }
  • Type: object

Property sourceCidr: Source address, CIDR format and IP address range in IPv4 format.


SourcePortRangeRequired

public object SourcePortRange { get; set; }
  • Type: object

Property sourcePortRange: Source port range, 80\/80.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: Rule description information, ranging from 1 to 512 characters.


DpiGroupIdsOptional

public object DpiGroupIds { get; set; }
  • Type: object

Property dpiGroupIds: The ID of the application group.

You can enter at most 100 application group IDs at a time. You can call the ListDpiGroups operation to query application group IDs and information about the applications.


DpiSignatureIdsOptional

public object DpiSignatureIds { get; set; }
  • Type: object

Property dpiSignatureIds: The ID of the application.

You can enter at most 100 application IDs at a time. You can call the ListDpiSignatures operation to query application IDs and information about the applications.


NameOptional

public object Name { get; set; }
  • Type: object

Property name: The name of the ACL rule.

The name must be 2 to 100 characters in length, and can contain digits, underscores (_), and hyphens (-). It must start with a letter.


PriorityOptional

public object Priority { get; set; }
  • Type: object

Property priority: Priority, ranging from 1 to 100.

Default: 1


TypeOptional

public object Type { get; set; }
  • Type: object

Property type: The type of the ACL rule: Valid values: LAN: The ACL rule controls traffic of private IP addresses.

This is the default value. WAN: The ACL rule controls traffic of public IP addresses.