forked from docs/doc-exports
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
8.0 KiB
8.0 KiB
Querying the Recycling Policy of a DB Instance
API Description
This API is used to query the recycling policy of a DB instance.
URI
- URI format
GET https://{Endpoint}/v3/{project_id}/instances/recycle-policy
- Parameter description
Table 1 Request parameters Name
Mandatory
Type
Description
x-auth-token
Yes
String
User token.
project_id
Yes
String
Specifies the project ID of a tenant in a region.
Requests
Responses
- Parameter description
Table 2 Response body parameters Name
Type
Description
recycle_policy
RecyclePolicy object
Instance recycling policy.
- Response Example
{ "recycle_policy" : { "enabled" : true, "retention_period_in_days" : 3 } }
Error Code
For more information, see Error Code.
Parent topic: DB Instance Management