{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"BatchDeleteScalingPoliciesOption":{"description":"批量操作弹性伸缩策略","properties":{"action":{"description":"批量操作伸缩策略action标识:删除:delete。启用:resume。停止:pause。","enum":["delete"],"type":"string"},"delete_alarm":{"description":"是否删除告警策略使用的告警规则。可选值为yes或no,默认为no。 只有action为delete时,该字段才生效。","type":"string"},"force_delete":{"description":"是否强制删除伸缩策略。默认为no,可选值为yes或no。只有action为delete时,该字段才生效。","enum":["no","yes"],"type":"string"},"scaling_policy_id":{"description":"伸缩策略ID。","items":{"type":"string"},"type":"array"}},"required":["action","scaling_policy_id"]}},"description":null,"group_id":"c14e7adea4354f78bb333ea8451df077","host":"as.cn-north-4.myhuaweicloud.com","id":"8c6b9d944d9a4753a24326eddf20dcd8","info_version":"v1","method":"post","name":"BatchDeleteScalingPolicies","parameters":{},"paths":{"/autoscaling-api/v1/{project_id}/scaling_policies/action":{"post":{"description":"批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。","operationId":"BatchDeleteScalingPolicies","parameters":[{"description":"租户标识。","in":"path","name":"project_id","required":true,"type":"string","x-example":"0513757xxxxxd5eb2f08xxxb93ef4f0f","x-order":1},{"description":"Token认证。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX...","x-order":2},{"description":"BodyParameters","in":"body","name":"bodyparam","required":true,"schema":{"$ref":"#/definitions/BatchDeleteScalingPoliciesOption"}}],"responses":{"204":{"description":"请求正常。"},"400":{"description":"Bad Request 服务器未能处理请求。"},"401":{"description":"Unauthorized 被请求的页面需要用户名和密码。"},"403":{"description":"Forbidden 对被请求的页面访问禁止。"},"404":{"description":"Not Found 服务器无法找到被请求的页面。"},"405":{"description":"Method Not Allowed 请求中指定的方法不被允许。"},"406":{"description":"Not Acceptable 服务器生成的响应无法被客户端所接受。"},"407":{"description":"Proxy Authentication 用户必须首先使用代理服务器进行验证,这样请求才会被处理"},"408":{"description":"Request Timeout 请求超出了服务器的等待时间。"},"409":{"description":"Conflict 由于冲突,请求无法被完成。"},"500":{"description":"Internal Server Error 请求未完成。服务异常。"},"501":{"description":"Not Implemented 请求未完成。服务器不支持所请求的功能。"},"502":{"description":"Bad Gateway 请求未完成。服务器从上游服务器收到一个无效的响应。"},"503":{"description":"Service Unavailable 请求未完成。系统暂时异常。"},"504":{"description":"Gateway Timeout 网关超时。"}},"summary":"批量删除弹性伸缩策略。","tags":["弹性伸缩策略管理"],"x-apiErrorCodes":"","x-apigateway-auth-type":"","x-apigateway-match-mode":"","x-apigateway-request-type":"","x-call_frequency":"","x-constraint":"","x-ctc":"Y","x-first_open_time":"2016-06-30","x-flow_control_group":"as","x-hc":"Y","x-hk":"Y","x-hybridcloud":true,"x-iftype":"公开接口","x-in_cli":"","x-is-registered":"Y","x-is_calling":"Y","x-multi_tenant_flow_time":"1","x-multi_tenant_flow_value":"260","x-name":"批量操作弹性伸缩策略","x-obc":"Y","x-order":12,"x-otc":"Y","x-request-examples-1":{"action":"delete","scaling_policy_id":["policy_id1","policy_id2"]},"x-request-examples-description-1":"本示例展示了批量删除ID为policy_id1和policy_id2的伸缩策略。","x-request-examples-text-1":{"action":"delete","scaling_policy_id":["policy_id1","policy_id2"]},"x-request-examples-url-1":"POST https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_policies/action","x-scope":"Commercial","x-source":"SelfDeveloped","x-source_url":"","x-support-sdk":"Y","x-tenant_flow_time":"1","x-tenant_flow_value":"26","x-timeout":"10s","x-tlf":"Y","x-un_cli":"","x-version":"v1"}}},"product_short":"AS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量删除弹性伸缩策略。","tags":"弹性伸缩策略管理","uri":null,"version":"2.0"}