Mencari pipeline berdasarkan status.
Deskripsi operasi
This operation searches for MPS queues by status. If you do not specify a status, the operation searches all MPS queues by default.
QPS limits
The queries per second (QPS) limit for this operation is 100 for each user. If you exceed this limit, your API calls are throttled, which may affect your business. Plan your calls accordingly. For more information, see QPS limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:SearchPipeline |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman untuk kueri berhalaman.
|
10 |
| PageNumber |
integer |
No |
Nomor halaman saat ini. Nilai default: 1. |
1 |
| State |
string |
No |
Status antrian MPS yang akan dicari. Jika Anda mengosongkan parameter ini, semua antrian MPS akan dicari secara default.
|
Paused |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of entries. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| RequestId |
string |
The request ID. |
338CA33A-AE83-5DF4-B6F2-C6D3ED8143F5 |
| PageNumber |
integer |
The current page number. |
1 |
| PipelineList |
object |
||
| Pipeline |
array<object> |
The list of pipelines. |
|
|
array<object> |
The details of the MPS queue. |
||
| Speed |
string |
The type of the MPS queue. Default value: Standard. Valid values:
|
Standard |
| State |
string |
The state of the MPS queue. Valid values:
|
Paused |
| SpeedLevel |
integer |
The level of the MPS queue. |
1 |
| NotifyConfig |
object |
The Message Service (MNS) configuration. |
|
| MqTopic |
string |
The queue of messages that are received. |
example1,example2 |
| QueueName |
string |
The name of the queue that is created in MNS. |
example-queue-**** |
| MqTag |
string |
The tags. |
mts-test |
| Topic |
string |
The name of the topic that is created in MNS. |
example-topic-**** |
| Role |
string |
The role that is assigned to the current RAM user. |
AliyunMTSDefaultRole |
| Name |
string |
The name of the MPS queue. |
example-pipeline-**** |
| Id |
string |
The ID of the MPS queue. |
d1ce4d3efcb549419193f50f1fcd**** |
| QuotaAllocate |
integer |
The quota that is allocated to the MPS queue. |
10 |
| CreationTime |
string |
2021-03-04T06:44:43Z |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 1,
"PageSize": 10,
"RequestId": "338CA33A-AE83-5DF4-B6F2-C6D3ED8143F5",
"PageNumber": 1,
"PipelineList": {
"Pipeline": [
{
"Speed": "Standard",
"State": "Paused",
"SpeedLevel": 1,
"NotifyConfig": {
"MqTopic": "example1,example2",
"QueueName": "example-queue-****",
"MqTag": "mts-test",
"Topic": "example-topic-****"
},
"Role": "AliyunMTSDefaultRole",
"Name": "example-pipeline-****",
"Id": "d1ce4d3efcb549419193f50f1fcd****",
"QuotaAllocate": 10,
"CreationTime": " 2021-03-04T06:44:43Z"
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.