文档数据库服务 DDS-设置实例回收站策略:请求示例

时间:2024-12-04 09:31:57

请求示例

打开实例回收站策略,策略保持时长为3天
PUT https://dds.cn-north-1.myhuaweicloud.com/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/recycle-policy 
 
{ 
  "recycle_policy" : { 
    "enabled" : true, 
    "retention_period_in_days" : 3 
  } 
}
support.huaweicloud.com/api-dds/dds_api_0138.html