Mengkueri spesifikasi lintas cloud yang didukung.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeCrossCloudLevels |
get |
*全部资源
|
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 |
Tipe engine database. Nilai valid:
|
MySQL |
| DBVersion |
string |
No |
Nomor versi engine database. Nilai valid untuk MySQL:
Nilai valid untuk PostgreSQL:
|
5.6 |
| StorageType |
string |
Yes |
Kelas penyimpanan. |
SharedStorage |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E56531A4-E552-40BA-9C58-137B80****** |
| CrossCloudLevelList |
array<object> |
The list of supported cross-cloud specifications. |
|
|
object |
|||
| DBType |
string |
The database engine type. |
MySQL |
| LevelName |
string |
The CPU and memory. |
2 核 8 GB |
| LevelCode |
string |
The specification code. |
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.