Skip to content

ACLRuleProps

Properties for defining a ACLRule.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.ACLRuleProps {
    AclId: interface{},
    DestCidr: interface{},
    DestPortRange: interface{},
    Direction: interface{},
    IpProtocol: interface{},
    Policy: interface{},
    SourceCidr: interface{},
    SourcePortRange: interface{},
    Description: interface{},
    DpiGroupIds: interface{},
    DpiSignatureIds: interface{},
    Name: interface{},
    Priority: interface{},
    Type: interface{},
}

Properties

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

AclIdRequired

AclId interface{}
  • Type: interface{}

Property aclId: Access control ID.


DestCidrRequired

DestCidr interface{}
  • Type: interface{}

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


DestPortRangeRequired

DestPortRange interface{}
  • Type: interface{}

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


DirectionRequired

Direction interface{}
  • Type: interface{}

Property direction: Regular direction.

Value: in|out


IpProtocolRequired

IpProtocol interface{}
  • Type: interface{}

Property ipProtocol: Protocol, not case sensitive.


PolicyRequired

Policy interface{}
  • Type: interface{}

Property policy: Access: accept|drop.


SourceCidrRequired

SourceCidr interface{}
  • Type: interface{}

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


SourcePortRangeRequired

SourcePortRange interface{}
  • Type: interface{}

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


DescriptionOptional

Description interface{}
  • Type: interface{}

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


DpiGroupIdsOptional

DpiGroupIds interface{}
  • Type: interface{}

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

DpiSignatureIds interface{}
  • Type: interface{}

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

Name interface{}
  • Type: interface{}

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

Priority interface{}
  • Type: interface{}

Property priority: Priority, ranging from 1 to 100.

Default: 1


TypeOptional

Type interface{}
  • Type: interface{}

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.