Mengkueri informasi detail mengenai komponen target dalam kluster, termasuk versi, konfigurasi parameter, dan status aktif instans komponen target.
Deskripsi operasi
Instans komponen hanya dapat dihapus ketika informasi kelompok instans kosong.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:GetClusterAddonInstance |
create |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID kluster. |
eck-xxxxxxxx |
| InstanceName |
string |
Yes |
Nama komponen. |
edge-csi-lite |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| RequestId |
string |
ID permintaan. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Name |
string |
Nama komponen. |
edge-csi-lite |
| Version |
string |
Nomor versi. |
v1 |
| CleanupCloudResources |
boolean |
Apakah akan membersihkan resource cloud terkait secara otomatis. |
|
| Status |
string |
Status saat ini dari instans komponen. Nilai valid:
|
enabled |
| ConfigSchema |
array<object> |
Skema parameter kustom komponen. |
|
|
object |
Skema parameter kustom komponen. |
||
| AppVersion |
string |
Versi aplikasi. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| ConfigVersion |
string |
Versi konfigurasi. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| Name |
string |
Nama komponen. |
edge-csi-lite |
| Params |
string |
Parameter kustom komponen. |
{"k1":"v1"} |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Name": "edge-csi-lite",
"Version": "v1",
"CleanupCloudResources": false,
"Status": "enabled",
"ConfigSchema": [
{
"AppVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"ConfigVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"Name": "edge-csi-lite",
"Params": "{\"k1\":\"v1\"}"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.