{"base_path":null,"components":{"parameters":{"ProjectId":{"description":"租户项目ID","in":"path","name":"project_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"[a-fA-F0-9]{32}","type":"string"}}},"schemas":{"Info":{"properties":{"quota":{"description":"可用的配额数,-1 代表不受限制","example":5,"format":"int64","type":"integer"},"type":{"description":"配额类型","example":"physicalConnect","type":"string"},"unit":{"description":"用量单位","example":"count","type":"string"},"used":{"description":"已使用的配额数量","example":1,"format":"int64","type":"integer"}},"type":"object"},"ShowQuotasResponseBody":{"description":"配额使用列表","properties":{"quotas":{"description":"配额使用详情","properties":{"resources":{"description":"不同资源配额使用详情列表","items":{"$ref":"#/components/schemas/Info"},"type":"array"}},"type":"object"}},"required":["quotas"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"044e9f7ee6954f958198fe6f41f8bf50","host":"dcaas.cn-north-4.myhuaweicloud.com","id":"960ca0f023df44ee9f84c63dcb19998b","info_version":"v3","method":"get","name":"ShowQuotas","parameters":null,"paths":{"/v3/{project_id}/dcaas/quotas":{"get":{"description":"查询租户各类资源的使用情况,如Directconnect的使用量,虚拟接口的使用量等。","operationId":"ShowQuotas","parameters":[{"$ref":"#/components/parameters/ProjectId"},{"description":"支持过滤的配额类型:\n- physicalConnect: 物理连接direct_connect实例的配额和使用量\n- virtualInterface: 虚拟接口virtual-interface的配额和使用量\n- connectGateway: 连接网关(用于关联GEIP)的配额和使用量\n- geip: 每租户可以关联GEIP的配额和使用量\n- globalDcGateway 专线全域接入网关的配额和使用量\n- peerLinkPerGdgw: 接入网关的关联连接的配额和使用量","in":"query","name":"type","schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"201":{"content":{"application/json":{"example":{"quotas":{"resources":[{"quota":300,"type":"physicalConnect","used":60}]},"request_id":"7e41b3413985e7a1de1701fe09cc05c9"},"schema":{"$ref":"#/components/schemas/ShowQuotasResponseBody"}}},"description":"查询配额成功"}},"summary":"查询配额","tags":["QuotaManager"],"x-apiexplorer-hide":"false","x-huawei-security":{"enableEProject":true,"epsAction":"list"},"x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk,cmcc,ocb,hws_eu","x-request-examples-description-1":"查询配额信息","x-request-examples-url-1":"GET https://{dc_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/dcaas/quotas?type=physicalConnect","x-support-sdk":"Y"}}},"product_short":"DC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询配额","tags":"配额管理","uri":null,"version":"3.0.1"}