All Products
Search
Document Center

Cloud Enterprise Network:ListCenInterRegionTrafficQosQueues

Last Updated:Jun 10, 2026

Mengkueri antrian dari Kebijakan Quality of Service (QoS).

Deskripsi operasi

When you call this operation, you must specify at least one of the TransitRouterId, TrafficQosPolicyId, or TrafficQosQueueId parameters.

Ensure that you specify valid parameter values. If you specify an invalid parameter, the system returns a RequestId but does not return information about the QoS policy.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:ListCenInterRegionTrafficQosQueues

get

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

TransitRouterId

string

No

ID Router transit.

tr-bp1rmwxnk221e3fas****

TransitRouterAttachmentId

string

No

ID koneksi antar-wilayah.

tr-attach-a6p8voaodog5c0****

TrafficQosPolicyId

string

No

ID Kebijakan QoS.

qos-rnghap5gc8155x****

TrafficQosQueueId

string

No

ID Antrian dalam Kebijakan QoS.

qos-queue-siakjb2nn9gz5z****

TrafficQosQueueName

string

No

Nama Antrian dalam Kebijakan QoS.

Nama dapat kosong atau memiliki panjang 1 hingga 128 karakter. Nama tidak boleh diawali dengan http:// atau https://.

qosQueueName

TrafficQosQueueDescription

string

No

Deskripsi Antrian dalam Kebijakan QoS.

Deskripsi dapat kosong atau memiliki panjang 1 hingga 256 karakter. Deskripsi tidak boleh diawali dengan http:// atau https://.

qosQueueDescription

MaxResults

integer

No

Jumlah entri yang dikembalikan pada setiap halaman. Nilai valid: 1 hingga 100. Nilai default: 20.

20

NextToken

string

No

Token paginasi. Token ini digunakan pada permintaan berikutnya untuk mengambil halaman hasil baru.

  • Jika NextToken kosong, tidak ada hasil lagi yang dikembalikan.

  • Jika NextToken tidak kosong, nilai NextToken digunakan untuk kueri berikutnya.

2ca1ed1573cb****

EffectiveBandwidthFilter

object

No

Memfilter hasil berdasarkan bandwidth aktual. Hanya bilangan bulat positif yang didukung. Unit: Mbit/s.

Gte

integer

No

The actual bandwidth is greater than or equal to the specified value.

50

Lte

integer

No

The actual bandwidth is less than or equal to the specified value.

20

Elemen respons

Element

Type

Description

Example

object

The response parameters.

NextToken

string

A pagination token. It is used in the next request to retrieve a new page of results. Valid values:

  • If NextToken is empty, no more results are returned.

  • If NextToken is not empty, the value of NextToken is used for the next query.

0151fa6aa1ed****

RequestId

string

The request ID.

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

TrafficQosQueues

array<object>

The information about the queues of the QoS policy.

object

The information about the queues of the QoS policy.

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 in the QoS policy.

qosQueueName

RemainBandwidthPercent

integer

The percentage of the inter-region connection bandwidth that can be used by the queue. This parameter is returned only if you allocate bandwidth to the queue by percentage.

For example, a value of 1 indicates that traffic that matches the queue can use up to 1% of the inter-region connection bandwidth.

1

Bandwidth

string

The bandwidth allocated to the queue. This parameter is returned only if you allocate bandwidth to the queue by absolute value.

For example, a value of 1 indicates that traffic that matches the queue can use up to 1 Mbit/s of the inter-region connection bandwidth.

1

EffectiveBandwidth

string

The actual bandwidth of the queue.

1.35

TrafficQosPolicyId

string

The ID of the QoS policy.

qos-fv2qq9yqrsjowp****

TrafficQosQueueId

string

The ID of the queue in the QoS policy.

qos-queue-siakjb2nn9gz5z****

TrafficQosQueueDescription

string

The description of the queue in the QoS policy.

qosQueueDescription

Dscps

array

The Differentiated Services Code Point (DSCP) values that are matched by the queue.

integer

The DSCP value.

1

Status

string

The status of the queue.

  • Creating: The queue is being created.

  • Active: The queue is running.

  • Deleting: The queue is being deleted.

Active

Contoh

Respons sukses

JSONformat

{
  "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"
    }
  ]
}

Kode kesalahan

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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.