QosCarProps
Properties for defining a QosCar.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qoscar
Initializer
import { QosCarProps } from '@alicloud/ros-cdk-sag'
const qosCarProps: QosCarProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
limitType | string | @alicloud/ros-cdk-core.IResolvable | Property limitType: The type of the traffic throttling policy. |
priority | number | @alicloud/ros-cdk-core.IResolvable | Property priority: The priority of the traffic throttling policy. |
qosId | string | @alicloud/ros-cdk-core.IResolvable | Property qosId: The ID of the QoS policy. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the traffic throttling policy. |
maxBandwidthAbs | number | @alicloud/ros-cdk-core.IResolvable | Property maxBandwidthAbs: The maximum bandwidth value. |
maxBandwidthPercent | number | @alicloud/ros-cdk-core.IResolvable | Property maxBandwidthPercent: The maximum bandwidth percentage. |
minBandwidthAbs | number | @alicloud/ros-cdk-core.IResolvable | Property minBandwidthAbs: The minimum bandwidth value. |
minBandwidthPercent | number | @alicloud/ros-cdk-core.IResolvable | Property minBandwidthPercent: The minimum bandwidth percentage. |
name | string | @alicloud/ros-cdk-core.IResolvable | Property name: The name of the traffic throttling rule. |
percentSourceType | string | @alicloud/ros-cdk-core.IResolvable | Property percentSourceType: If the policy throttles traffic based on a specified bandwidth percentage, the following options are available: CcnBandwidth: Cloud Enterprise Network (CCN) bandwidth. |
limitTypeRequired
public readonly limitType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property limitType: The type of the traffic throttling policy.
Valid values: Absolute: throttles traffic by a specific bandwidth range. Percent: throttles traffic by a specific range of bandwidth percentage.
priorityRequired
public readonly priority: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property priority: The priority of the traffic throttling policy.
A smaller value represents a higher priority. If policies are assigned the same priority, the one applied the earliest prevails. Valid values: 1 to 7.
qosIdRequired
public readonly qosId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property qosId: The ID of the QoS policy.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the traffic throttling policy.
maxBandwidthAbsOptional
public readonly maxBandwidthAbs: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxBandwidthAbs: The maximum bandwidth value.
The value must be an integer. Unit: Mbit\/s. This parameter is returned when LimitType is set to Absolute.
The maximum bandwidth value must be greater than the minimum bandwidth value.
maxBandwidthPercentOptional
public readonly maxBandwidthPercent: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxBandwidthPercent: The maximum bandwidth percentage.
Unit: percent (%). Valid values: 1 to 100. This parameter is required when you set LimitType to Percent.
The maximum bandwidth percentage must be greater than the minimum bandwidth percentage.
minBandwidthAbsOptional
public readonly minBandwidthAbs: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property minBandwidthAbs: The minimum bandwidth value.
The value must be an integer. Unit: Mbit\/s. This parameter is returned when LimitType is set to Absolute.
minBandwidthPercentOptional
public readonly minBandwidthPercent: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property minBandwidthPercent: The minimum bandwidth percentage.
Unit: percent (%). Valid values: 1 to 100. This parameter is required when you set LimitType to Percent.
nameOptional
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the traffic throttling rule.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
percentSourceTypeOptional
public readonly percentSourceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property percentSourceType: If the policy throttles traffic based on a specified bandwidth percentage, the following options are available: CcnBandwidth: Cloud Enterprise Network (CCN) bandwidth.
InternetUpBandwidth: Internet upstream bandwidth.