Skip to content

QosCarProps

Properties for defining a QosCar.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qoscar

Initializer

import ros_cdk_sag
ros_cdk_sag.QosCarProps(
  limit_type: typing.Union[str, IResolvable],
  priority: typing.Union[typing.Union[int, float], IResolvable],
  qos_id: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  max_bandwidth_abs: typing.Union[typing.Union[int, float], IResolvable] = None,
  max_bandwidth_percent: typing.Union[typing.Union[int, float], IResolvable] = None,
  min_bandwidth_abs: typing.Union[typing.Union[int, float], IResolvable] = None,
  min_bandwidth_percent: typing.Union[typing.Union[int, float], IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  percent_source_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
limit_type typing.Union[str, ros_cdk_core.IResolvable] Property limitType: The type of the traffic throttling policy.
priority typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property priority: The priority of the traffic throttling policy.
qos_id typing.Union[str, ros_cdk_core.IResolvable] Property qosId: The ID of the QoS policy.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the traffic throttling policy.
max_bandwidth_abs typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property maxBandwidthAbs: The maximum bandwidth.
max_bandwidth_percent typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.
min_bandwidth_abs typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property minBandwidthAbs: The minimum bandwidth.
min_bandwidth_percent typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the traffic throttling policy.
percent_source_type typing.Union[str, 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.

limit_typeRequired

limit_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

priority: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


qos_idRequired

qos_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property qosId: The ID of the QoS policy.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description of the traffic throttling policy.


max_bandwidth_absOptional

max_bandwidth_abs: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property maxBandwidthAbs: The maximum bandwidth.

This parameter is required when LimitType is set to Absolute.


max_bandwidth_percentOptional

max_bandwidth_percent: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


min_bandwidth_absOptional

min_bandwidth_abs: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property minBandwidthAbs: The minimum bandwidth.

This parameter is required when LimitType is set to Absolute.


min_bandwidth_percentOptional

min_bandwidth_percent: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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 (-).


percent_source_typeOptional

percent_source_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.