Geçerli kullanıcı için yönetilen tüm kümeleri getirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:ListClusters |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/am/cluster/list_clusters HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| current |
integer |
No |
Geçerli sayfa numarası (1. sayfadan başlar). |
1 |
| pageSize |
integer |
No |
Sayfa başına giriş sayısı. |
10 |
| name |
string |
No |
Eklentileri filtrelemek için kullanılan eklentinin adı. |
proxy-next-upstream |
| cluster_id |
string |
No |
Kümeleri filtrelemek için kullanılan küme kimliği. Not
Bu küme kimliği, ACK küme kimliği değildir. Bu işlem tarafından döndürülen id alanıdır. |
cb7d4cc26c8f845fb8a8255ffd394820e |
| cluster_status |
string |
No |
|
Running |
| cluster_type |
string |
No |
|
ACK |
| id |
string |
No |
[Kullanımdan Kaldırıldı] Kümeleri filtrelemek için cluster_id parametresini kullanın. |
cb7d4cc26c8f845fb8a8255ffd394820e |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
Uçtan uca tanılama için kullanılabilecek istek kimliği. |
B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7 |
| code |
string |
Durum kodu.
|
Success |
| data |
array<object> |
Döndürülen veriler. |
|
|
object |
Döndürülen veriler. |
||
| cluster_id |
string |
Gerçek küme kimliği. Not
|
c666d4774f0e2440b979bf917bf100e40 |
| cluster_status |
string |
|
Running |
| cluster_type |
string |
|
ACK |
| created_at |
string |
Oluşturma zamanı. |
2024-12-25T15:08:19 |
| id |
string |
Küme kimliği. |
5389fba5-92a1-4ff4-9b26-773b97828144 |
| name |
string |
Küme adı. |
auto-name-sbvCT |
| region |
string |
Bölge kimliği. |
cn-hangzhou |
| updated_at |
string |
Güncelleme zamanı. |
2024-12-25T15:08:19 |
| message |
string |
Hata mesajı.
|
success |
| total |
integer |
Toplam kayıt sayısı. |
64 |
Examples
Success response
JSON format
{
"RequestId": "B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7",
"code": "Success",
"data": [
{
"cluster_id": "c666d4774f0e2440b979bf917bf100e40",
"cluster_status": "Running",
"cluster_type": "ACK",
"created_at": "2024-12-25T15:08:19",
"id": "5389fba5-92a1-4ff4-9b26-773b97828144",
"name": "auto-name-sbvCT",
"region": "cn-hangzhou",
"updated_at": "2024-12-25T15:08:19"
}
],
"message": "success",
"total": 64
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.