Queries the Serverless configuration for a PolarDB application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeApplicationServerlessConf |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
CDB3258F-B5DE-43C4-8935-CBA0CA****** |
| ServerlessConfItems |
array<object> |
The list of serverless configurations. |
|
|
object |
|||
| ComponentType |
string |
The type of the application sub-component. For Supabase, valid values are:
|
gateway |
| ScaleMin |
string |
The minimum scaling capacity for a single node, measured in PolarDB Capacity Units (PCU). Valid values: 0 PCU to 16 PCU. |
1 |
| ScaleMax |
string |
The maximum scaling capacity for a single node. Valid values: 0 PCU to 16 PCU. |
16 |
| ApplicationId |
string |
The application ID. |
pa-************** |
Examples
Success response
JSON format
{
"RequestId": "CDB3258F-B5DE-43C4-8935-CBA0CA******",
"ServerlessConfItems": [
{
"ComponentType": "gateway",
"ScaleMin": "1",
"ScaleMax": "16"
}
],
"ApplicationId": "pa-**************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.