TrafficQosRule
- Implements: ITrafficQosRule
This class encapsulates and extends the ROS resource type ALIYUN::VPC::TrafficQosRule.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Vpc;
new TrafficQosRule(Construct Scope, string Id, TrafficQosRuleProps Props, bool EnableResourcePropertyConstraint = null);
| Name | Type | Description |
|---|---|---|
Scope | AlibabaCloud.SDK.ROS.CDK.Core.Construct | No description. |
Id | string | No description. |
Props | TrafficQosRuleProps | No description. |
EnableResourcePropertyConstraint | bool | No description. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
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: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Vpc;
TrafficQosRule.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node associated with this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Ref | string | No description. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
Resource | AlibabaCloud.SDK.ROS.CDK.Core.RosResource | No description. |
AttrDstCidr | object | Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic. |
AttrDstIpv6Cidr | object | Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment. |
AttrDstPortRange | object | Attribute DstPortRange: QoS rule traffic matches the destination port number range. |
AttrMatchDscp | object | Attribute MatchDscp: The DSCP value of the traffic matched by the QoS rule. |
AttrPriority | object | Attribute Priority: QoS rule priority. |
AttrProtocol | object | Attribute Protocol: QoS rule protocol type. |
AttrQosId | object | Attribute QosId: The QoS policy ID. |
AttrQueueId | object | Attribute QueueId: The QoS queue ID. |
AttrRemarkingDscp | object | Attribute RemarkingDscp: Modify The DSCP value in the flow. |
AttrRuleDescription | object | Attribute RuleDescription: The description of the QoS rule. |
AttrRuleId | object | Attribute RuleId: The ID of the QoS rule. |
AttrRuleName | object | Attribute RuleName: The name of the QoS rule. |
AttrSrcCidr | object | Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic. |
AttrSrcIpv6Cidr | object | Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment. |
AttrSrcPortRange | object | Attribute SrcPortRange: The source port number of the QoS rule traffic matching. |
Props | TrafficQosRuleProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.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
public string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrDstCidrRequired
public object AttrDstCidr { get; }
- Type: object
Attribute DstCidr: The destination IPv4 CIDR block that matches the QoS rule traffic.
AttrDstIpv6CidrRequired
public object AttrDstIpv6Cidr { get; }
- Type: object
Attribute DstIpv6Cidr: The QoS rule traffic matches the Destination IPv6 network segment.
AttrDstPortRangeRequired
public object AttrDstPortRange { get; }
- Type: object
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
public object AttrMatchDscp { get; }
- Type: object
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
public object AttrPriority { get; }
- Type: object
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
public object AttrProtocol { get; }
- Type: object
Attribute Protocol: QoS rule protocol type.
AttrQosIdRequired
public object AttrQosId { get; }
- Type: object
Attribute QosId: The QoS policy ID.
AttrQueueIdRequired
public object AttrQueueId { get; }
- Type: object
Attribute QueueId: The QoS queue ID.
AttrRemarkingDscpRequired
public object AttrRemarkingDscp { get; }
- Type: object
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
public object AttrRuleDescription { get; }
- Type: object
Attribute RuleDescription: The description of the QoS rule.
AttrRuleIdRequired
public object AttrRuleId { get; }
- Type: object
Attribute RuleId: The ID of the QoS rule.
AttrRuleNameRequired
public object AttrRuleName { get; }
- Type: object
Attribute RuleName: The name of the QoS rule.
AttrSrcCidrRequired
public object AttrSrcCidr { get; }
- Type: object
Attribute SrcCidr: The source IPv4 CIDR block that matches the QoS rule traffic.
AttrSrcIpv6CidrRequired
public object AttrSrcIpv6Cidr { get; }
- Type: object
Attribute SrcIpv6Cidr: The QoS rule traffic matches the source IPv6 network segment.
AttrSrcPortRangeRequired
public object AttrSrcPortRange { get; }
- Type: object
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
public TrafficQosRuleProps Props { get; }
- Type: TrafficQosRuleProps