Pauses an AnalyticDB for PostgreSQL instance.
Operation description
Pauses an AnalyticDB for PostgreSQL instance that is in the Running state.
This operation is available only for AnalyticDB for PostgreSQL instances in Serverless mode that run V1.0.2.1 or later. For more information, see View the minor engine version and Update the minor engine version.
Before you call this operation, familiarize yourself with the billing and pricing of AnalyticDB for PostgreSQL. For more information, see Billing methods and AnalyticDB for PostgreSQL pricing.
Limits
You can call this operation up to 1,000 times per second per account. Requests that exceed this limit are throttled, which may affect your workloads.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:PauseInstance |
get |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. Note
You can call the DescribeDBInstances operation to query the IDs of all AnalyticDB for PostgreSQL instances in a region. |
gp-bp12ga6v69h86**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
34b32a0a-08ef-4a87-b6be-cdd9******** |
| Status |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned. This parameter is returned only when Status is false. |
******* |
| DBInstanceId |
string |
The ID of the instance. |
gp-bp12ga6v69h86**** |
Examples
Success response
JSON format
{
"RequestId": "34b32a0a-08ef-4a87-b6be-cdd9********",
"Status": true,
"ErrorMessage": "*******",
"DBInstanceId": "gp-bp12ga6v69h86****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.