1
0
forked from docs/doc-exports
doc-exports/docs/dds/api-ref/dds_api_0215.html
Wang , Deng Ke 4c6bc53817 dds api for docs/document-database-service#35
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>
2023-07-11 10:47:18 +00:00

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

Responses

  • Parameter description
    Table 2 Response body parameters

    Name

    Type

    Description

    recycle_policy

    RecyclePolicy object

    Instance recycling policy.

    Table 3 RecyclePolicy

    Name

    Type

    Description

    enabled

    Boolean

    Whether to enable the recycling policy.

    • true: Enable the recycling policy.

    retention_period_in_days

    Integer

    Policy retention period (1 to 7 days). The value must be a positive integer.

  • Response Example
    { 
      "recycle_policy" : { 
        "enabled" : true, 
        "retention_period_in_days" : 3 
      } 
    }

Status Code

Status Code:200.

For more information, see Status Code.

Error Code

For more information, see Error Code.