{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"InstanceRecycleInfo":{"properties":{"auto_delete_time":{"description":"**参数解释**:\n自动删除时间。 \n**取值范围**:\n不涉及。","type":"string"},"cost_per_hour":{"description":"**参数解释**:\n每小时的费用。 \n**取值范围**:\n不涉及。","format":"double","type":"number"},"engine":{"description":"**参数解释**:\n消息引擎。 \n**取值范围**:\n- rocketmq:RocketMQ消息引擎。\n- reliability:RocketMQ消息引擎别称。","type":"string"},"error_message":{"description":"**参数解释**:\n错误信息。 \n**取值范围**:\n不涉及。","type":"string"},"in_recycle_time":{"description":"**参数解释**:\n回收时间。 \n**取值范围**:\n不涉及。","type":"string"},"instance_id":{"description":"**参数解释**:\n实例ID。\n**取值范围**:\n不涉及。","type":"string"},"name":{"description":"**参数解释**:\n实例名称。 \n**取值范围**:\n不涉及。","type":"string"},"product_id":{"description":"**参数解释**:\n产品ID。\n**取值范围**:\n不涉及。","type":"string"},"save_time":{"description":"**参数解释**:\n保留时间。 \n**取值范围**:\n1~7。","type":"integer"},"status":{"description":"**参数解释**:\n实例状态。 \n**取值范围**:\n详细状态说明请参考[实例状态说明](rabbitmq-api-180514012.xml)。","type":"string"}},"type":"object"},"ModifyRecyclePolicyReq":{"properties":{"default_use_recycle":{"description":"**参数解释**:\n是否使用回收站。 \n**约束限制**:\n不涉及。\n**取值范围**:\n- true:使用回收站。\n- false:不使用回收站。\n**默认取值**:\n不涉及","type":"boolean"},"retention_days":{"description":"**参数解释**:\n保留天数。\n**约束限制**:\n不涉及。\n**取值范围**:\n1~7。\n**默认取值**:\n不涉及","type":"integer"}},"type":"object"},"ModifyRecyclePolicyResp":{"properties":{"default_use_recycle":{"description":"**参数解释**:\n是否使用回收站。\n**取值范围**:\n- true:使用回收站。\n- false:不使用回收站。","type":"boolean"},"recycle_instances":{"description":"**参数解释**:\n回收实例列表。","items":{"$ref":"#/definitions/InstanceRecycleInfo"},"type":"array"},"retention_days":{"description":"**参数解释**:\n保留天数。\n**取值范围**:\n1~7。","type":"integer"}},"type":"object"}},"description":null,"group_id":"01d11699e8074781a7ab0fb1c8d994e7","host":"dms.cn-north-4.myhuaweicloud.com","id":"27ab87b2e606472b9b594d3942d87790","info_version":"v2","method":"put","name":"ModifyRecyclePolicy","parameters":{},"paths":{"/v2/{project_id}/recycle":{"put":{"description":"更新回收站策略。","operationId":"ModifyRecyclePolicy","parameters":[{"description":"**参数解释**:\n项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n更新回收站策略请求体\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"body","name":"ModifyRecyclePolicyReq","schema":{"$ref":"#/definitions/ModifyRecyclePolicyReq"}}],"responses":{"200":{"description":"查询回收站实例列表成功。","examples":{"application/json":{"default_use_recycle":true,"recycle_instances":null,"retention_days":2}},"schema":{"$ref":"#/definitions/ModifyRecyclePolicyResp"}}},"schemes":["https"],"summary":"更新回收站策略","tags":["实例管理"],"x-api-type":"open-api","x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"dms02","x-apigateway-request-type":"public","x-hybridcloud":true,"x-is-registered":"Y","x-open-region-cloud":"hws,hws_eu,hws_hk,cmcc,ctc,sbc,hk_sbc,g42,hk_g42,tm,hk_tm,hcs","x-produc-type":"rabbitmq","x-request-examples-1":{"default_use_recycle":true,"retention_days":2},"x-request-examples-url-1":"PUT https://{endpoint}/v2/{project_id}/recycle","x-support-sdk":"Y"}}},"product_short":"RabbitMQ","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"更新回收站策略","tags":"实例管理","uri":null,"version":"2.0"}