Mengkueri informasi tentang versi instance yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ListClusterVersions |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterType |
string |
No |
Jenis instance. Nilai yang valid: ZooKeeper, Nacos-Ans, dan Eureka. |
Nacos-Ans |
| MseVersion |
string |
No |
Edisi instance. Nilai yang valid:
|
mse_pro |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| RequestId |
string |
ID permintaan. |
7717BE5B-C958-5F87-BF49-464AA276EDD1 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan jika permintaan gagal. |
mse-100-000 |
| Code |
integer |
Kode status yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
The request was successfully processed. |
| DynamicMessage |
string |
Bagian dinamis dalam pesan kesalahan. |
The specified parameter is invalid. |
| Data |
array<object> |
Detail data. |
|
|
object |
Struktur data. |
||
| Code |
string |
Kode dari jenis instance. |
NACOS_2_0_0 |
| ShowName |
string |
Versi instance. |
2.1.0 |
| ClusterType |
string |
Jenis instance. |
Nacos-Ans |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "7717BE5B-C958-5F87-BF49-464AA276EDD1",
"Success": true,
"ErrorCode": "mse-100-000",
"Code": 200,
"Message": "The request was successfully processed.\n",
"DynamicMessage": "The specified parameter is invalid.",
"Data": [
{
"Code": "NACOS_2_0_0",
"ShowName": "2.1.0",
"ClusterType": "Nacos-Ans"
}
]
}
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.