huawei-cloud-api-definitions-RAM 0.1.20240116

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"SecurityTokenHeader":{"description":"用户Token","in":"header","name":"X-Auth-Token","required":false,"schema":{"maxLength":2048,"minLength":0,"readOnly":true,"type":"string"}}},"schemas":{"QuotaResourcesDto":{"description":"配额信息列表。","properties":{"resources":{"description":"配额信息。","items":{"$ref":"#/components/schemas/Quotas"},"readOnly":true,"type":"array"}},"required":["resources"],"type":"object"},"QuotaResp":{"description":"资源共享配额的响应体。","properties":{"quotas":{"$ref":"#/components/schemas/QuotaResourcesDto"}},"required":["quotas"],"type":"object"},"Quotas":{"description":"资源共享的配额。","properties":{"max":{"description":"最大配额。","format":"int32","readOnly":true,"type":"integer"},"min":{"description":"最小配额。","format":"int32","readOnly":true,"type":"integer"},"quota":{"description":"总配额数量。","format":"int32","readOnly":true,"type":"integer"},"type":{"description":"配额类型。resource_share帐号创建资源共享的数量,resource_association资源共享关联的资源数量,principal_association资源共享关联的身份数量,permission_association资源共享关联的权限数量,tag_association资源共享关联的标签数量。","maxLength":64,"minLength":1,"type":"string"},"used":{"description":"已使用的配额数量。","format":"int32","readOnly":true,"type":"integer"}},"required":["type","quota","min","max","used"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"b04257fdccf04cd288f64a5386e5ef20","info_version":"v1","method":"get","name":"ListQuota","parameters":null,"paths":{"/v1/resource-shares/quotas":{"get":{"description":"查询当前帐号的资源共享配额信息。","operationId":"ListQuota","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"}],"responses":{"200":{"content":{"application/json":{"example":{"quotas":{"resources":[{"max":1,"min":0,"quota":0,"type":"string","used":0}]}},"schema":{"$ref":"#/components/schemas/QuotaResp"}}},"description":"Successful."}},"security":[{"AccessKeyAuth":[]}],"summary":"查询资源共享的配额","tags":["Misc"],"x-is-registered":"Y","x-request-examples-description-1":"查询当前帐号的资源共享配额信息","x-request-examples-url-1":"GET https://{hostname}/v1/resource-shares/quotas","x-support-sdk":"Y"}}},"product_short":"RAM","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询资源共享的配额","tags":"其他操作","uri":null,"version":"3.0.3"}