{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"AlterAutoVolumeExpandConfig":{"description":"**参数解释**:\n修改自动磁盘扩容配置\n**约束限制**:\n不涉及。","properties":{"auto_volume_expand_enable":{"description":"**参数解释**:\n是否开启磁盘自动扩容。\n**约束限制**:\n不涉及。\n**取值范围**:\n- true:开启磁盘自动扩容。\n- false:关闭磁盘自动扩容。\n**默认取值**:\n不涉及。","example":true,"type":"boolean"},"expand_increment":{"description":"**参数解释**:\n每次磁盘自动扩容的比例。\n**约束限制**:\n不涉及。\n**取值范围**:\n10%-100%。\n**默认取值**:\n不涉及。","example":10,"type":"integer"},"expand_threshold":{"description":"**参数解释**:\n触发磁盘自动扩容的阈值。\n**约束限制**:\n不涉及。\n**取值范围**:\n20%-80%。\n**默认取值**:\n不涉及。","example":80,"type":"integer"},"max_volume_size":{"description":"**参数解释**:\n磁盘自动扩容的上限值。\n**约束限制**:\n- 能被100整除。\n-大于当前实例磁盘容量,且小于节点数*30000。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","example":700,"type":"integer"}},"required":["auto_volume_expand_enable"],"type":"object"}},"description":null,"group_id":"01d11699e8074781a7ab0fb1c8d994e7","host":"dms.cn-north-4.myhuaweicloud.com","id":"ba5fa5a0119941ed862d2cfaa36f93c2","info_version":"v2","method":"put","name":"UpdateVolumeExpansionConfig","parameters":{},"paths":{"/v2/{project_id}/instances/{instance_id}/auto-volume-expand":{"put":{"description":"该接口用于修改磁盘自动扩容配置,包含磁盘自动扩容是否开启、扩容阈值、扩容步长,以及扩容上限的配置。","operationId":"UpdateVolumeExpansionConfig","parameters":[{"description":"**参数解释**:\n实例ID。获取方法如下:调用[查询所有实例列表](ListInstancesDetails.xml)接口,从响应体中获取实例ID。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","maxLength":64,"minLength":1,"name":"instance_id","required":true,"type":"string"},{"description":"**参数解释**:\n项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","maxLength":64,"minLength":1,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n自动磁盘扩容配置\n**约束限制**:\n不涉及。","in":"body","name":"UpdateVolumeExpansionConfigRequestBody","required":true,"schema":{"$ref":"#/definitions/AlterAutoVolumeExpandConfig"}}],"responses":{"200":{"description":"修改磁盘自动扩容配置成功。","examples":{"application/json":"success"},"schema":{"description":"**参数解释**:\n修改结果。\n**取值范围**:\nsuccess。","type":"string"}}},"schemes":["https"],"summary":"修改磁盘自动扩容配置","tags":["规格变更管理"],"x-api-type":"open-api","x-hybridcloud":true,"x-is-registered":"Y","x-name":"修改自动磁盘扩容配置","x-open-region-cloud":"hws,hws_hk","x-produc-type":"rabbitmq","x-request-examples-1":{"auto_volume_expand_enable":true,"expand_increment":10,"expand_threshold":80,"max_volume_size":400},"x-request-examples-description-1":"修改磁盘自动扩容配置。","x-request-examples-url-1":"PUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/auto-volume-expand","x-support-sdk":"Y"}}},"product_short":"RabbitMQ","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"修改磁盘自动扩容配置","tags":"规格变更管理","uri":null,"version":"2.0"}