Modifies the Serverless configuration of a PolarDB application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:ModifyApplicationServerlessConf |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
| ServerlessConfList |
array<object> |
Yes |
The list of Serverless configurations. |
|
|
object |
No |
|||
| ComponentType |
string |
No |
The type of the application sub-component. For Supabase, valid values are:
|
gateway |
| ScaleMin |
string |
No |
The minimum number of PolarDB Capacity Units (PCUs) for a single node. Valid values: 0 to 16. |
1 |
| ScaleMax |
string |
No |
The maximum number of PCUs for a single node. Valid values: 0 to 16. |
16 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D0CEC6AC-7760-409A-A0D5-E6CD86****** |
| ApplicationId |
string |
The application ID. |
pa-************** |
Examples
Success response
JSON format
{
"RequestId": "D0CEC6AC-7760-409A-A0D5-E6CD86******",
"ApplicationId": "pa-**************"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.