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"]},"ThrottleBindingBatchDelete":{"properties":{"throttle_bindings":{"description":"需要解除绑定的API和流控策略绑定关系ID列表","example":["e29ce305f9af49ac82ce25e249965a4d","d9b3c9571d8f44c4a3fd34810b993aa8"],"items":{"type":"string"},"type":"array"}}},"ThrottleBindingBatchFailure":{"properties":{"api_id":{"description":"解除绑定失败的API的ID","example":"a6ae2c6782a94408aad57a637bda500b","type":"string"},"api_name":{"description":"解除绑定失败的API的名称","example":"api_demo","type":"string"},"bind_id":{"description":"解除绑定失败的API和流控策略绑定关系ID","example":"e29ce305f9af49ac82ce25e249965a4d","type":"string"},"error_code":{"description":"解除绑定失败的错误码","example":"APIG.3012","type":"string"},"error_msg":{"description":"解除绑定失败的错误信息","example":"The request throttling policy binding record does not exist","type":"string"}}},"ThrottleBindingBatchResult":{"properties":{"failure":{"description":"解除绑定失败的API和流控绑定关系及错误信息","items":{"$ref":"#/definitions/ThrottleBindingBatchFailure"},"type":"array"},"success_count":{"description":"成功解除绑定的API和流控策略绑定关系的数量","format":"int32","type":"integer"}}}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"b8bc87e6860a43a9931cd3360ef55342","info_version":"v2","method":"put","name":"BatchDisassociateThrottlingPolicyV2","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}/throttle-bindings":{"put":{"description":"批量解除API与流控策略的绑定关系","operationId":"BatchDisassociateThrottlingPolicyV2","parameters":[{"$ref":"#/parameters/apic_x_auth_token"},{"$ref":"#/parameters/apic_project_id"},{"$ref":"#/parameters/apic_instance_id"},{"description":"必须为delete","in":"query","name":"action","required":true,"type":"string"},{"description":"批量解绑流控策略请求体","in":"body","name":"BatchDisassociateThrottlingPolicyV2RequestBody","required":true,"schema":{"$ref":"#/definitions/ThrottleBindingBatchDelete"}}],"responses":{"200":{"description":"OK","examples":{"application/json":{"failure":[{"bind_id":"b11e5970f732440dbea647580647d57f","error_code":"APIG.3012","error_msg":"The request throttling policy binding record does not exist"}],"success_count":1}},"schema":{"$ref":"#/definitions/ThrottleBindingBatchResult"}},"400":{"description":"Bad Request","examples":{"application/json":{"error_code":"APIG.2011","error_msg":"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":["API绑定流控策略"],"x-api-version":"v2","x-apigateway-request-type":"public","x-hybridcloud":true,"x-is-registered":"Y","x-open-region-cloud":"hc,hcso","x-order":6,"x-request-examples-1":{"throttle_bindings":["6a6a75b425df416cbdcd7821da30be8d","b11e5970f732440dbea647580647d57f"]},"x-request-examples-description-1":"根据列表批量解绑API的流控策略","x-romaconnect-mode":"huaweicloud,hybrid,on-premise","x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"批量解绑流控策略","tags":"API绑定流控策略","uri":null,"version":"2.0"}