Menanyakan informasi tentang spesifikasi instans yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:QueryClusterSpecification |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ConnectType |
string |
No |
Tipe jaringan. Nilai yang valid:
|
slb |
| MseVersion |
string |
No |
Edisi instans MSE yang ingin Anda beli.
|
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. |
EE5C32A1-BC0E-4B79-817C-103E4EDF**** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan jika permintaan gagal. |
mse-100-000 |
| Code |
integer |
Nilai yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
The request was successfully processed. |
| Data |
array<object> |
Detail data. |
|
|
object |
Hasil yang dikembalikan. |
||
| ClusterSpecificationName |
string |
Spesifikasi mesin yang dapat digunakan. |
MSE_SC_1_2_200_c |
| MemoryCapacity |
string |
Ukuran memori dalam spesifikasi. Satuan: GB. |
2 |
| CpuCapacity |
string |
Jumlah vCPU dalam spesifikasi. |
1 |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "EE5C32A1-BC0E-4B79-817C-103E4EDF****",
"Success": true,
"ErrorCode": "mse-100-000",
"Code": 200,
"Message": "The request was successfully processed.\n",
"Data": [
{
"ClusterSpecificationName": "MSE_SC_1_2_200_c",
"MemoryCapacity": "2",
"CpuCapacity": "1"
}
]
}
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.