Queries the attributes of a quality of service (QoS) policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the QoS policy is deployed. You can call the DescribeRegions operation to query the most recent region list. | cn-shanghai |
QosId | string | Yes | The ID of the QoS policy. | qos-1iqifund3gcno5**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"QosPolicies": [
{
"EndTime": 0,
"StartTime": 0,
"DestCidr": "0.0.0.0/0",
"DestPortRange": "-1/-1",
"IpProtocol": "ALL",
"Priority": 1,
"QosPolicieDescription": "test",
"SourceCidr": "0.0.0.0/0",
"QosPolicieName": "test",
"SourcePortRange": "-1/-1"
}
],
"QosCars": [
{
"MaxBandwidthAbs": 2,
"QosCarName": "test",
"PercentSourceType": "InternetUpBandwidth",
"MinBandwidthAbs": 1,
"MaxBandwidthPercent": 20,
"QosCarDescription": "test",
"LimitType": "Absolute",
"Priority": 1,
"MinBandwidthPercent": 10,
"QosCarId": "qoscar-xir1apa8ayjp56ei****"
}
],
"RequestId": "91058E01-1806-45D5-B305-19E4D0A5CE04",
"ErrorConfigSmartAGCount": 1,
"QosName": "test",
"QosDescription": "test"
}
Error codes
For a list of error codes, visit the Service error codes.