huawei-cloud-api-definitions-ROMA 0.1.20240626

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ResponseModel":{"properties":{"error_code":{"description":"错误码","type":"string"},"error_msg":{"description":"错误描述","type":"string"}},"required":["error_code","error_msg"]},"ThrottleBatchDelete":{"properties":{"throttles":{"description":"需要批量删除的流控策略编号列表。","items":{"type":"string"},"type":"array"}}},"ThrottleBatchFailure":{"description":"批量操作失败的返回结果","properties":{"error_code":{"description":"操作失败的错误码","type":"string"},"error_msg":{"description":"操作失败的错误信息","type":"string"},"throttle_id":{"description":"操作失败流控策略ID","type":"string"},"throttle_name":{"description":"操作失败的流控策略名称","type":"string"}}},"ThrottleBatchResult":{"properties":{"failure":{"$ref":"#/definitions/ThrottleBatchFailure"},"success_count":{"description":"批量删除成功的流控数量","type":"integer"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"016bbbc803ec441dba2eca13d6e20f1a","info_version":"v2","method":"post","name":"BatchDeleteThrottlingPolicyV2","parameters":{"apic_instance_id":{"description":"实例ID","in":"path","name":"instance_id","required":true,"type":"string","x-example":"f0fa1789-3b76-433b-a787-9892951c620e"},"apic_project_id":{"description":"项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。","in":"path","name":"project_id","required":true,"type":"string","x-example":"73d69ae0cfcf460190522d06b60f05ad"},"apic_x_auth_token":{"description":"用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."}},"paths":{"/v2/{project_id}/apic/instances/{instance_id}/throttles/batch-delete":{"post":{"description":"批量删除流控策略。","operationId":"BatchDeleteThrottlingPolicyV2","parameters":[{"$ref":"#/parameters/apic_x_auth_token"},{"$ref":"#/parameters/apic_project_id"},{"$ref":"#/parameters/apic_instance_id"},{"description":"批量删除流控策略的请求体","in":"body","name":"BatchDeleteThrottlingPolicyV2RequestBody","required":true,"schema":{"$ref":"#/definitions/ThrottleBatchDelete"}}],"responses":{"200":{"description":"OK","examples":{"application/json":{"success_count":1}},"schema":{"$ref":"#/definitions/ThrottleBatchResult"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"APIG.2011","error_msg":"Invalid parameter value,parameter action should be \\\"delete\\\""}},"schema":{"$ref":"#/definitions/ResponseModel"}},"401":{"description":"Unauthorized","examples":{"application/json":{"error_code":"APIG.1002","error_msg":"Incorrect token or token resolution failed"}},"schema":{"$ref":"#/definitions/ResponseModel"}},"403":{"description":"Forbidden","examples":{"application/json":{"error_code":"APIG.1005","error_msg":"No permissions to request this method"}},"schema":{"$ref":"#/definitions/ResponseModel"}},"404":{"description":"Not Found","examples":{"application/json":{"error_code":"APIG.3030","error_msg":"The instance does not exist;id:f0fa1789-3b76-433b-a787-9892951c620ec"}},"schema":{"$ref":"#/definitions/ResponseModel"}},"500":{"description":"Internal Server Error","examples":{"application/json":{"error_code":"APIG.9999","error_msg":"System error"}},"schema":{"$ref":"#/definitions/ResponseModel"}}},"schemes":["https"],"summary":"批量删除流控策略","tags":["流控策略管理"],"x-is-registered":"N","x-order":1,"x-request-examples-1":{"throttles":["3437448ad06f4e0c91a224183116e965"]},"x-request-examples-description-1":"根据列表批量删除流控策略","x-support-sdk":"N"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量删除流控策略","tags":"流控策略管理","uri":null,"version":"2.0"}