Skip to content

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.
MaxBandwidthPercent interface{} Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.
MinBandwidthAbs interface{} Property minBandwidthAbs: The minimum bandwidth.
MinBandwidthPercent interface{} Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.
Name interface{} Property name: The name of the traffic throttling policy.
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.

This parameter is required when LimitType is set to Absolute.


MaxBandwidthPercentOptional

MaxBandwidthPercent interface{}
  • Type: interface{}

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

MinBandwidthAbs interface{}
  • Type: interface{}

Property minBandwidthAbs: The minimum bandwidth.

This parameter is required when LimitType is set to Absolute.


MinBandwidthPercentOptional

MinBandwidthPercent interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

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.