QosCarProps
Properties for defining a QosCar.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qoscar
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.QosCarProps {
LimitType: interface{},
Priority: interface{},
QosId: interface{},
Description: interface{},
MaxBandwidthAbs: interface{},
MaxBandwidthPercent: interface{},
MinBandwidthAbs: interface{},
MinBandwidthPercent: interface{},
Name: interface{},
PercentSourceType: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
LimitType | interface{} | Property limitType: The type of the traffic throttling policy. |
Priority | interface{} | Property priority: The priority of the traffic throttling policy. |
QosId | interface{} | Property qosId: The ID of the QoS policy. |
Description | interface{} | Property description: The description of the traffic throttling policy. |
MaxBandwidthAbs | interface{} | Property maxBandwidthAbs: The maximum bandwidth value. |
MaxBandwidthPercent | interface{} | Property maxBandwidthPercent: The maximum bandwidth percentage. |
MinBandwidthAbs | interface{} | Property minBandwidthAbs: The minimum bandwidth value. |
MinBandwidthPercent | interface{} | Property minBandwidthPercent: The minimum bandwidth percentage. |
Name | interface{} | Property name: The name of the traffic throttling rule. |
PercentSourceType | interface{} | 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
LimitType interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
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
QosId interface{}
- Type: interface{}
Property qosId: The ID of the QoS policy.
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of the traffic throttling policy.
MaxBandwidthAbsOptional
MaxBandwidthAbs interface{}
- Type: interface{}
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
MaxBandwidthPercent interface{}
- Type: interface{}
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
MinBandwidthAbs interface{}
- Type: interface{}
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
MinBandwidthPercent interface{}
- Type: interface{}
Property minBandwidthPercent: The minimum bandwidth percentage.
Unit: percent (%). Valid values: 1 to 100. This parameter is required when you set LimitType to Percent.
NameOptional
Name interface{}
- Type: interface{}
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
PercentSourceType interface{}
- Type: interface{}
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.