Memperbarui nomor versi kluster tujuan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateImage |
update |
*Cluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
ID kluster tujuan. |
mse-8e8e9060 |
| VersionCode |
string |
Yes |
Nomor versi tujuan. Catatan
Anda harus memanggil operasi GetImage untuk mendapatkan nomor versi tujuan maksimum yang sesuai dengan MaxVersionCode. |
ZooKeeper_3_5_5 |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The ID of the request. |
3855D475-2B66-5CFF-9A51-3D698E52C472 |
| Message |
string |
The returned message. |
success |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
True |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3855D475-2B66-5CFF-9A51-3D698E52C472",
"Message": "success",
"ErrorCode": "mse-100-000",
"Success": true
}
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.