All Products
Search
Document Center

Cloud Enterprise Network:ListCenInterRegionTrafficQosQueues

Last Updated:Jan 15, 2023

Queries the information about a quality of service (QoS) queue.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

Parameter Type Required Description Example
TransitRouterId string No

The ID of the transit router.

tr-bp1rmwxnk221e3fas****
TransitRouterAttachmentId string No

The ID of the inter-region connection.

tr-attach-a6p8voaodog5c0****
TrafficQosPolicyId string No

The ID of the QoS policy.

qos-rnghap5gc8155x****
TrafficQosQueueId string No

The ID of the queue.

qos-queue-siakjb2nn9gz5z****
TrafficQosQueueName string No

The name of the queue.

qosQueueName
TrafficQosQueueDescription string No

The description of the queue.

qosQueueDescription
MaxResults integer No

The number of entries to return on each page. Valid values: 1 to 100. Default value: 20.

20
NextToken string No

The token that determines the start point of the query.

  • If NextToken was not returned in the previous query, it indicates that no additional results exist.
  • If NextToken was returned in the previous query, specify the value to obtain the next set of results.
2ca1ed1573cbfd3a

Response parameters

Parameter Type Description Example
object

The response.

NextToken string

The token that determines the start point of the query. Valid values:

  • If NextToken was not returned, it indicates that no additional results exist.
  • If NextToken was returned in the previous query, specify the value to obtain the next set of results.
0151fa6aa1ed43b7
RequestId string

The ID of the request.

1D1E15D2-416D-54F3-BDD9-BC27DE4C6352
TrafficQosQueues array

A list of queues.

object

The information about the queue.

TransitRouterAttachmentId string

The ID of the inter-region connection.

tr-attach-nzrcv25d7ezt23****
TransitRouterId string

The ID of the transit router.

tr-p0wwagjv6fvxt4b7y****
TrafficQosQueueName string

The name of the queue.

qosQueueName
RemainBandwidthPercent integer

The percentage of bandwidth resources that can be allocated to the current queue.

Each QoS policy supports up to three queues. You can specify a percentage of bandwidth resources for each queue.

For example, a value of 1 indicates that 1 percent of bandwidth resources can be allocated to the queue.

1
TrafficQosPolicyId string

The ID of the QoS policy.

qos-fv2qq9yqrsjowp****
TrafficQosQueueId string

The ID of the queue.

qos-queue-siakjb2nn9gz5z****
TrafficQosQueueDescription string

The description of the queue.

qosQueueDescription
Dscps array

The differentiated services code point (DSCP) value that matches the current queue.

integer

The DSCP value that matches the current queue.

1
Status string

The status of the queue. Valid values:

Creating: The queue is being created. Active: The queue is available. Deleting: The queue is being deleted.

Active

Example

Normal return example

JSONFormat

{
  "NextToken": "0151fa6aa1ed43b7",
  "RequestId": "1D1E15D2-416D-54F3-BDD9-BC27DE4C6352",
  "TrafficQosQueues": [
    {
      "TransitRouterAttachmentId": "tr-attach-nzrcv25d7ezt23****",
      "TransitRouterId": "tr-p0wwagjv6fvxt4b7y****",
      "TrafficQosQueueName": "qosQueueName",
      "RemainBandwidthPercent": 1,
      "TrafficQosPolicyId": "qos-fv2qq9yqrsjowp****",
      "TrafficQosQueueId": "qos-queue-siakjb2nn9gz5z****\n",
      "TrafficQosQueueDescription": "qosQueueDescription\n",
      "Dscps": [
        1
      ],
      "Status": "Active"
    }
  ]
}

Error codes

Http code Error code Error message
400 MissingParam.TransitRouterIdOrTrafficQosPolicyIdOrTrafficQosQueueId Either TransitRouterId or TrafficQosPolicyId or TrafficQosQueueId must be specified.
400 InvalidParameter.MaxResults The specified MaxResults is invalid.

For a list of error codes, visit the API error center.