Mengkueri konfigurasi Serverless untuk aplikasi PolarDB.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeApplicationServerlessConf |
get |
*全部资源
|
None | None |
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
ID aplikasi. |
pa-************** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
CDB3258F-B5DE-43C4-8935-CBA0CA****** |
| ServerlessConfItems |
array<object> |
Daftar konfigurasi serverless. |
|
|
object |
|||
| ComponentType |
string |
Jenis sub-komponen aplikasi. Untuk Supabase, nilai yang valid adalah:
|
gateway |
| ScaleMin |
string |
Kapasitas penskalaan minimum untuk satu node, diukur dalam PolarDB Capacity Units (PCU). Nilai yang valid: 0 PCU hingga 16 PCU. |
1 |
| ScaleMax |
string |
Kapasitas penskalaan maksimum untuk satu node. Nilai yang valid: 0 PCU hingga 16 PCU. |
16 |
| ApplicationId |
string |
ID aplikasi. |
pa-************** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CDB3258F-B5DE-43C4-8935-CBA0CA******",
"ServerlessConfItems": [
{
"ComponentType": "gateway",
"ScaleMin": "1",
"ScaleMax": "16"
}
],
"ApplicationId": "pa-**************"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.