Queries information about traffic scheduling policy queues by calling the ListCenInterRegionTrafficQosQueues operation.
Operation description
When you call this operation, specify at least one of the following parameters: TransitRouterId, TrafficQosPolicyId, or TrafficQosQueueId.
Make sure that the parameter values you specify are correct. If you specify incorrect parameter values, the system returns a RequestId but does not return information about traffic scheduling policies.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ListCenInterRegionTrafficQosQueues |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TransitRouterId |
string |
No |
The ID of the transit router instance. |
tr-bp1rmwxnk221e3fas**** |
| TransitRouterAttachmentId |
string |
No |
The ID of the inter-region connection. |
tr-attach-a6p8voaodog5c0**** |
| TrafficQosPolicyId |
string |
No |
The ID of the traffic scheduling policy. |
qos-rnghap5gc8155x**** |
| TrafficQosQueueId |
string |
No |
The ID of the traffic scheduling policy queue. |
qos-queue-siakjb2nn9gz5z**** |
| TrafficQosQueueName |
string |
No |
The name of the traffic scheduling policy queue. The name can be empty or 1 to 128 characters in length and cannot start with http:// or https://. |
qosQueueName |
| TrafficQosQueueDescription |
string |
No |
The description of the traffic scheduling policy queue. The description can be empty or 1 to 256 characters in length and cannot start with http:// or https://. |
qosQueueDescription |
| MaxResults |
integer |
No |
The number of entries per page for a paged query. Valid values: 1 to 100. Default value: 20. |
20 |
| NextToken |
string |
No |
The token that determines the start point of the next query. Valid values:
|
2ca1ed1573cb**** |
| EffectiveBandwidthFilter |
object |
No |
Filters results by the actual effective bandwidth value. Only positive integers are allowed. Unit: Mbit/s. |
|
| Gte |
integer |
No |
The actual effective bandwidth is greater than or equal to the specified bandwidth value. |
50 |
| Lte |
integer |
No |
The actual effective bandwidth is less than or equal to the specified bandwidth value. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| NextToken |
string |
The token that determines the start point of the next query. Valid values:
|
0151fa6aa1ed**** |
| RequestId |
string |
The request ID. |
1D1E15D2-416D-54F3-BDD9-BC27DE4C6352 |
| TrafficQosQueues |
array<object> |
The queue information of the traffic scheduling policy. |
|
|
object |
The queue information of the traffic scheduling policy. |
||
| TransitRouterAttachmentId |
string |
The ID of the inter-region connection. |
tr-attach-nzrcv25d7ezt23**** |
| TransitRouterId |
string |
The ID of the transit router instance. |
tr-p0wwagjv6fvxt4b7y**** |
| TrafficQosQueueName |
string |
The name of the traffic scheduling policy queue. |
qosQueueName |
| RemainBandwidthPercent |
integer |
The percentage of inter-region bandwidth that the current queue can use when the bandwidth guarantee type is set to percentage mode. For example, a value of 1 indicates that traffic packets matching the current queue can use up to 1% of the inter-region bandwidth. |
1 |
| Bandwidth |
string |
The inter-region bandwidth allocated to the current queue when the bandwidth guarantee type is set to absolute value mode. For example, a value of 1 indicates that traffic packets matching the current queue can use up to 1 Mbit/s of inter-region bandwidth. |
1 |
| EffectiveBandwidth |
string |
The actual effective bandwidth value of the current queue. |
1.35 |
| TrafficQosPolicyId |
string |
The ID of the traffic scheduling policy. |
qos-fv2qq9yqrsjowp**** |
| TrafficQosQueueId |
string |
The ID of the traffic scheduling policy queue. |
qos-queue-siakjb2nn9gz5z**** |
| TrafficQosQueueDescription |
string |
The description of the traffic scheduling policy queue. |
qosQueueDescription |
| Dscps |
array |
The DSCP values matched by the current queue. |
|
|
integer |
The DSCP values matched by the current queue. |
1 |
|
| Status |
string |
The status of the queue. Valid values:
|
Active |
Examples
Success response
JSON format
{
"NextToken": "0151fa6aa1ed****",
"RequestId": "1D1E15D2-416D-54F3-BDD9-BC27DE4C6352",
"TrafficQosQueues": [
{
"TransitRouterAttachmentId": "tr-attach-nzrcv25d7ezt23****",
"TransitRouterId": "tr-p0wwagjv6fvxt4b7y****",
"TrafficQosQueueName": "qosQueueName",
"RemainBandwidthPercent": 1,
"Bandwidth": "1",
"EffectiveBandwidth": "1.35",
"TrafficQosPolicyId": "qos-fv2qq9yqrsjowp****",
"TrafficQosQueueId": "qos-queue-siakjb2nn9gz5z****\n",
"TrafficQosQueueDescription": "qosQueueDescription\n",
"Dscps": [
1
],
"Status": "Active"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam.TransitRouterIdOrTrafficQosPolicyIdOrTrafficQosQueueId | Either TransitRouterId or TrafficQosPolicyId or TrafficQosQueueId must be specified. | |
| 400 | InvalidParameter.MaxResults | The specified MaxResults is invalid. | |
| 400 | InvalidName | Name is invalid. | The error message returned because the specified name is invalid. |
| 400 | InvalidDescription | Description is invalid. | The error message returned because the description is invalid. |
| 400 | IllegalParam.EffectiveBandwidthFilter | The input bandwidth filter value is not valid. | The input bandwidth filter value is not valid. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.