{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"ErrorRsp":{"description":"失败时返回的对象。","properties":{"error_code":{"description":"错误码。","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"MysqlQueryAutoScalingPolicyResponse":{"description":"查询自动变配策略返回体","properties":{"enlarge_threshold":{"description":"**参数解释**:\n\n自动升配触发阈值,单位百分比\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":null,"maximum":90,"minimum":60,"type":"integer"},"instance_id":{"description":"**参数解释**:\n\n实例ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":"","maxLength":36,"minLength":0,"type":"string"},"max_flavor":{"description":"**参数解释**:\n\n最大变配规格上限\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":"","maxLength":36,"minLength":0,"type":"string"},"min_flavor":{"description":"**参数解释**:\n\n最大变配规格下限\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":"","maxLength":36,"minLength":0,"type":"string"},"monitor_cycle":{"description":"**参数解释**:\n\n观察窗口,单位秒\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":null,"maximum":1800,"minimum":300,"type":"integer"},"reduce_enabled":{"description":"**参数解释**:\n\n自动降配状态,on为自动降配开启;off为关闭\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":"","maxLength":36,"minLength":0,"type":"string"},"reduce_threshold":{"description":"**参数解释**:\n\n自动降配触发阈值\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":null,"maximum":30,"minimum":10,"type":"integer"},"silence_cycle":{"description":"**参数解释**:\n\n静默期,单位秒\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":null,"maximum":604800,"minimum":300,"type":"integer"},"status":{"description":"**参数解释**:\n\n是否开启autoScaling,OFF为关闭,ON为开启\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","example":"","maxLength":36,"minLength":0,"type":"string"}},"type":"object"}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"367ffd440e2a47e2a458c36b72fcb814","info_version":"v3","method":"get","name":"ListAutoScalingPolicy","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/auto-scaling/policy":{"get":{"description":"查询自动变配策略","operationId":"ListAutoScalingPolicy","parameters":[{"description":"**参数解释**:\n\n租户在某一Region下的项目ID。\n\n获取方法请参见获取项目ID。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"path","maxLength":36,"minLength":0,"name":"project_id","required":true,"type":"string"},{"description":"**参数解释**:\n\n实例ID,此参数是实例的唯一标识。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n只能由英文字母、数字组成,长度为36个字符。\n\n**默认取值**:\n\n不涉及。","in":"path","maxLength":36,"minLength":0,"name":"instance_id","required":true,"type":"string"},{"description":"**参数解释**:\n\n用户Token。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n不涉及。\n\n**默认取值**:\n\n不涉及。","in":"header","maxLength":8076,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},{"description":"**参数解释**:\n\n请求语言类型。\n\n**约束限制**:\n\n不涉及。\n\n**取值范围**:\n\n- en-us\n- zh-cn\n**默认取值**:\n\nen-us。","in":"header","maxLength":36,"minLength":1,"name":"X-Language","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success","examples":{"application/json":{"enlarge_threshold":50,"instance_id":"aea4d8a8d302484ea0319f04566e48e2in01","max_flavor":"rds.mysql.n1.4xlarge.2.ha","min_flavor":"rds.mysql.n1.large.2.ha","monitor_cycle":300,"reduce_enabled":"ON","reduce_threshold":30,"silence_cycle":300,"status":"ON"}},"schema":{"$ref":"#/definitions/MysqlQueryAutoScalingPolicyResponse"}},"400":{"description":"Error response","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"查询自动变配策略","tags":["实例管理"],"x-api-type":"open-api","x-apigateway-ratelimit":"rds_user_policy_100","x-is-registered":"Y","x-request-examples-description-1":"下发查询自动变配策略","x-request-examples-url-1":"/v3/54623db08b174c858ba779d2aa7923a3/instances/aa650a108f034e83b24486fd1ff7be2fin01/auto-scaling/policy","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询自动变配策略","tags":"实例管理","uri":null,"version":"2.0"}