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. |
AclId
Required
AclId interface{}
- Type: interface{}
Property aclId: Access control ID.
DestCidr
Required
DestCidr interface{}
- Type: interface{}
Property destCidr: Destination address, CIDR format and IP address range in IPv4 format.
DestPortRange
Required
DestPortRange interface{}
- Type: interface{}
Property destPortRange: Destination port range, 80\/80.
Direction
Required
Direction interface{}
- Type: interface{}
Property direction: Regular direction.
Value: in|out
IpProtocol
Required
IpProtocol interface{}
- Type: interface{}
Property ipProtocol: Protocol, not case sensitive.
Policy
Required
Policy interface{}
- Type: interface{}
Property policy: Access: accept|drop.
SourceCidr
Required
SourceCidr interface{}
- Type: interface{}
Property sourceCidr: Source address, CIDR format and IP address range in IPv4 format.
SourcePortRange
Required
SourcePortRange interface{}
- Type: interface{}
Property sourcePortRange: Source port range, 80\/80.
Description
Optional
Description interface{}
- Type: interface{}
Property description: Rule description information, ranging from 1 to 512 characters.
DpiGroupIds
Optional
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.
DpiSignatureIds
Optional
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.
Name
Optional
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.
Priority
Optional
Priority interface{}
- Type: interface{}
Property priority: Priority, ranging from 1 to 100.
Default: 1
Type
Optional
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.