Memperoleh sumber semua layanan Container Service for Kubernetes (ACK) di sebuah gerbang.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetKubernetesSource |
get |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-c5d1aadb7df646cfb7065fbf75c1**** |
| VpcId |
string |
No |
ID virtual private cloud (VPC). |
vpc-bp1t50e045b5g7i3p**** |
| IsAll |
boolean |
No |
Apakah akan memperoleh informasi tentang semua Kluster Kubernetes. Jika Anda menetapkan nilainya ke false, hanya informasi tentang kluster yang tidak terkait yang akan diperoleh. |
|
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
1085A66C-DEF1-58EE-A0A4-31E00C9FC0D5 |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
You are not authorized to perform this operation. |
| Code |
integer |
The status code returned. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
array<object> |
The data returned. |
|
|
object |
The response parameters. |
||
| Name |
string |
The name of the ACK cluster. |
k8s-demo |
| Cluster |
string |
The ID of the ACK cluster. |
cbc1efca895a64af097ff00b26f3f**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1085A66C-DEF1-58EE-A0A4-31E00C9FC0D5",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": [
{
"Name": "k8s-demo",
"Cluster": "cbc1efca895a64af097ff00b26f3f****"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.