TrafficQosRule
- Implements: ITrafficQosRule
This class encapsulates and extends the ROS resource type ALIYUN::VPC::TrafficQosRule.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
alicloudroscdkvpc.NewTrafficQosRule(scope Construct, id *string, props TrafficQosRuleProps, enableResourcePropertyConstraint *bool) TrafficQosRule
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | TrafficQosRuleProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: TrafficQosRuleProps
enableResourcePropertyConstraintOptional
- Type: *bool
Methods
| Name | Description |
|---|---|
ToString | Returns a string representation of this construct. |
Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition | No description. |
AddCount | No description. |
AddDependency | No description. |
AddResourceDesc | No description. |
ApplyRemovalPolicy | No description. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | No description. |
GetAtt | No description. |
SetMetadata | No description. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkvpc"
alicloudroscdkvpc.TrafficQosRule_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrDstCidr | interface{} | Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic. |
AttrDstIpv6Cidr | interface{} | Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment. |
AttrDstPortRange | interface{} | Attribute DstPortRange: QoS rule traffic matches the destination port number range. |
AttrMatchDscp | interface{} | Attribute MatchDscp: The DSCP value of the traffic matched by the QoS rule. |
AttrPriority | interface{} | Attribute Priority: QoS rule priority. |
AttrProtocol | interface{} | Attribute Protocol: QoS rule protocol type. |
AttrQosId | interface{} | Attribute QosId: The QoS policy ID. |
AttrQueueId | interface{} | Attribute QueueId: The QoS queue ID. |
AttrRemarkingDscp | interface{} | Attribute RemarkingDscp: Modify The DSCP value in the flow. |
AttrRuleDescription | interface{} | Attribute RuleDescription: The description of the QoS rule. |
AttrRuleId | interface{} | Attribute RuleId: The ID of the QoS rule. |
AttrRuleName | interface{} | Attribute RuleName: The name of the QoS rule. |
AttrSrcCidr | interface{} | Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic. |
AttrSrcIpv6Cidr | interface{} | Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment. |
AttrSrcPortRange | interface{} | Attribute SrcPortRange: The source port number of the QoS rule traffic matching. |
Props | TrafficQosRuleProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrDstCidrRequired
func AttrDstCidr() interface{}
- Type: interface{}
Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic.
AttrDstIpv6CidrRequired
func AttrDstIpv6Cidr() interface{}
- Type: interface{}
Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment.
AttrDstPortRangeRequired
func AttrDstPortRange() interface{}
- Type: interface{}
Attribute DstPortRange: QoS rule traffic matches the destination port number range.
Value range: 0 to 65535. If not, the value is -1. Currently, only a single port number is supported, and the start and end of the port number must be the same. The corresponding destination port number range is fixed for different protocol types.
AttrMatchDscpRequired
func AttrMatchDscp() interface{}
- Type: interface{}
Attribute MatchDscp: The DSCP value of the traffic matched by the QoS rule.
Value range: 0 to 63. If not, the value is -1.
AttrPriorityRequired
func AttrPriority() interface{}
- Type: interface{}
Attribute Priority: QoS rule priority.
Value range: 1 to 9000. The larger the number, the higher the priority. The priority of a QoS rule cannot be repeated in the same QoS policy.
AttrProtocolRequired
func AttrProtocol() interface{}
- Type: interface{}
Attribute Protocol: QoS rule protocol type.
AttrQosIdRequired
func AttrQosId() interface{}
- Type: interface{}
Attribute QosId: The QoS policy ID.
AttrQueueIdRequired
func AttrQueueId() interface{}
- Type: interface{}
Attribute QueueId: The QoS queue ID.
AttrRemarkingDscpRequired
func AttrRemarkingDscp() interface{}
- Type: interface{}
Attribute RemarkingDscp: Modify The DSCP value in the flow.
Value range: 0 to 63. If the value is not modified, the value is -1.
AttrRuleDescriptionRequired
func AttrRuleDescription() interface{}
- Type: interface{}
Attribute RuleDescription: The description of the QoS rule.
AttrRuleIdRequired
func AttrRuleId() interface{}
- Type: interface{}
Attribute RuleId: The ID of the QoS rule.
AttrRuleNameRequired
func AttrRuleName() interface{}
- Type: interface{}
Attribute RuleName: The name of the QoS rule.
AttrSrcCidrRequired
func AttrSrcCidr() interface{}
- Type: interface{}
Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic.
AttrSrcIpv6CidrRequired
func AttrSrcIpv6Cidr() interface{}
- Type: interface{}
Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment.
AttrSrcPortRangeRequired
func AttrSrcPortRange() interface{}
- Type: interface{}
Attribute SrcPortRange: The source port number of the QoS rule traffic matching.
The value range is 0 to 65535. If the traffic does not match, the value is -1. Currently, only a single port number is supported, and the start and end of the port number must be the same.
PropsRequired
func Props() TrafficQosRuleProps
- Type: TrafficQosRuleProps