Mengkueri nomor versi maksimum yang dapat ditingkatkan dari versi saat ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:GetImage |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VersionCode |
string |
Yes |
Nomor versi Instans saat ini. |
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. |
25EA0A83-9007-4E87-808C-637BE1A**** |
| Message |
string |
The message returned. |
The request is successfully processed. |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| HttpCode |
string |
The HTTP status code returned. |
200 |
| Data |
object |
The details of the data. |
|
| CurrentVersionFullShowName |
string |
The full version number of the current instance image. The parameter is in the X.X.X.X format. |
3.5.5.0 |
| MaxVersionCode |
string |
The code of the maximum version to which the current version can be upgraded. |
ZooKeeper_3_6_3 |
| MaxVersionFullShowName |
string |
The full number of the maximum version to which the current version can be upgraded. |
3.6.3.0 |
| MaxVersionChangelogUrl |
string |
The URL of the changelog for the maximum version to which the current version can be upgraded. |
https://xxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25EA0A83-9007-4E87-808C-637BE1A****",
"Message": "The request is successfully processed.\n",
"ErrorCode": "mse-100-000",
"Success": true,
"HttpCode": "200",
"Data": {
"CurrentVersionFullShowName": "3.5.5.0",
"MaxVersionCode": "ZooKeeper_3_6_3",
"MaxVersionFullShowName": "3.6.3.0",
"MaxVersionChangelogUrl": "https://xxxxx"
}
}
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.