Skip to content

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.
maxBandwidthPercent number | @alicloud/ros-cdk-core.IResolvable Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.
minBandwidthAbs number | @alicloud/ros-cdk-core.IResolvable Property minBandwidthAbs: The minimum bandwidth.
minBandwidthPercent number | @alicloud/ros-cdk-core.IResolvable Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the traffic throttling policy.
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.

This parameter is required when LimitType is set to Absolute.


maxBandwidthPercentOptional

public readonly maxBandwidthPercent: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.

This parameter is required when LimitType is set to Percent.


minBandwidthAbsOptional

public readonly minBandwidthAbs: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property minBandwidthAbs: The minimum bandwidth.

This parameter is required when LimitType is set to Absolute.


minBandwidthPercentOptional

public readonly minBandwidthPercent: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.

This parameter is required when LimitType is set to Percent.


nameOptional

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name of the traffic throttling policy.

The name must be 2 to 128 characters in length, and can contain Chinese characters, letters, digits, periods (.), underscores (_), and hyphens (-).


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.