All Products
Search
Document Center

Cloud Enterprise Network:ListCenInterRegionTrafficQosQueues

Last Updated:Mar 29, 2024

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
cen:ListCenInterRegionTrafficQosQueuesRead
  • CenInstance
    acs:cen:*:{#accountId}:ceninstance/*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TransitRouterIdstringNo

The ID of the transit router.

tr-bp1rmwxnk221e3fas****
TransitRouterAttachmentIdstringNo

The ID of the inter-region connection.

tr-attach-a6p8voaodog5c0****
TrafficQosPolicyIdstringNo

The ID of the QoS policy.

qos-rnghap5gc8155x****
TrafficQosQueueIdstringNo

The ID of the queue.

qos-queue-siakjb2nn9gz5z****
TrafficQosQueueNamestringNo

The name of the queue.

qosQueueName
TrafficQosQueueDescriptionstringNo

The description of the queue.

qosQueueDescription
MaxResultsintegerNo

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

20
NextTokenstringNo

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.
2ca1ed1573cb****

Response parameters

ParameterTypeDescriptionExample
object

The response.

NextTokenstring

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.
0151fa6aa1ed****
RequestIdstring

The ID of the request.

1D1E15D2-416D-54F3-BDD9-BC27DE4C6352
TrafficQosQueuesobject []

A list of queues.

TransitRouterAttachmentIdstring

The ID of the inter-region connection.

tr-attach-nzrcv25d7ezt23****
TransitRouterIdstring

The ID of the transit router.

tr-p0wwagjv6fvxt4b7y****
TrafficQosQueueNamestring

The name of the queue.

qosQueueName
RemainBandwidthPercentinteger

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

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

1
TrafficQosPolicyIdstring

The ID of the QoS policy.

qos-fv2qq9yqrsjowp****
TrafficQosQueueIdstring

The ID of the queue.

qos-queue-siakjb2nn9gz5z****
TrafficQosQueueDescriptionstring

The description of the queue.

qosQueueDescription
Dscpsarray

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

integer

The DSCP value that matches the current queue.

1
Statusstring

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

Examples

Sample success responses

JSONformat

{
  "NextToken": "0151fa6aa1ed****",
  "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 status codeError codeError messageDescription
400MissingParam.TransitRouterIdOrTrafficQosPolicyIdOrTrafficQosQueueIdEither TransitRouterId or TrafficQosPolicyId or TrafficQosQueueId must be specified.-
400InvalidParameter.MaxResultsThe specified MaxResults is invalid. -
400InvalidNameName is invalid.The error message returned because the specified name is invalid.
400InvalidDescriptionDescription is invalid.The error message returned because the description is invalid.
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-13The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change