Mengkueri daftar spesifikasi yang didukung untuk skenario lintas cloud.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeCrossCloudLevels |
get |
*Semua sumber daya.
|
None | None |
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
string |
Yes |
ID kolam sumber daya. |
pj-87681rbcef6****** |
| DBType |
string |
Yes |
Jenis mesin database. Nilai valid:
|
MySQL |
| DBVersion |
string |
No |
Versi mesin database. Nilai valid untuk MySQL:
Nilai valid untuk PostgreSQL:
|
5.6 |
| StorageType |
string |
Yes |
Jenis penyimpanan. Valid values:
|
SharedStorage |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| RequestId |
string |
ID permintaan. |
E56531A4-E552-40BA-9C58-137B80****** |
| CrossCloudLevelList |
array<object> |
Daftar spesifikasi yang didukung untuk skenario lintas cloud. |
|
|
object |
|||
| DBType |
string |
Jenis mesin database. |
MySQL |
| LevelName |
string |
CPU dan memori. |
2 inti 8 GB |
| LevelCode |
string |
Kode spesifikasi. |
polar.mysql.g4.medium.c |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E56531A4-E552-40BA-9C58-137B80******",
"CrossCloudLevelList": [
{
"DBType": "MySQL",
"LevelName": "2 核 8 GB",
"LevelCode": "polar.mysql.g4.medium.c"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.