Skip to content

ITrafficQosRule

Represents a TrafficQosRule.

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node for this construct.
Env github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment The environment this resource belongs to.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
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 for 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.


StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


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