Menjelaskan rencana sumber daya lintas cloud.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeResourcePackages |
get |
*全部资源
|
None | None |
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
E56531A4-E552-40BA-9C58-137B80****** |
| ResourcePackageList |
array<object> |
Daftar rencana sumber daya lintas cloud. |
|
|
array<object> |
|||
| ResourcePackageId |
string |
ID dari rencana sumber daya lintas cloud. |
pm-bp11b0i9389****** |
| ResourcePackageType |
string |
Tipe dari rencana sumber daya lintas cloud. |
MySQL |
| Status |
string |
Status dari rencana sumber daya lintas cloud. Nilai yang valid:
|
Normal |
| UsedCapacity |
integer |
Kapasitas yang digunakan. |
4 |
| TotalCapacity |
integer |
Kapasitas total. |
8 |
| CreateTime |
integer |
Waktu saat rencana sumber daya dibuat. |
1744621511000 |
| ExpireTime |
integer |
Waktu saat rencana sumber daya kedaluwarsa. |
1747238400000 |
| AutoQuota |
boolean |
Menunjukkan apakah alokasi kuota otomatis diaktifkan. |
true |
| ResourcePackageQuotaList |
array<object> |
Detail alokasi kuota. |
|
|
object |
|||
| ProjectId |
string |
The ID of the resource pool. |
pj-87681rbcef6****** |
| UsedCapacity |
integer |
The used capacity of the resource pool. |
2 |
| AllocatedCapacity |
integer |
The capacity allocated to the resource pool. |
6 |
| Tags |
array<object> |
Daftar tag. |
|
|
object |
|||
| Key |
string |
The tag key. |
Key |
| Value |
string |
The tag value. |
Value |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E56531A4-E552-40BA-9C58-137B80******",
"ResourcePackageList": [
{
"ResourcePackageId": "pm-bp11b0i9389******",
"ResourcePackageType": "MySQL",
"Status": "Normal",
"UsedCapacity": 4,
"TotalCapacity": 8,
"CreateTime": 1744621511000,
"ExpireTime": 1747238400000,
"AutoQuota": true,
"ResourcePackageQuotaList": [
{
"ProjectId": "pj-87681rbcef6******",
"UsedCapacity": 2,
"AllocatedCapacity": 6
}
],
"Tags": [
{
"Key": "Key",
"Value": "Value"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.