{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"DedicatedResource":{"description":"专属资源池信息。","properties":{"architecture":{"description":"CPU架构","type":"string"},"availability_zone":{"description":"专属资源池可用区信息。","items":{"type":"string"},"type":"array"},"capacity":{"$ref":"#/definitions/DedicatedResourceCapacity","description":"专属资源池容量信息"},"engine_name":{"description":"数据库引擎名称","type":"string"},"id":{"description":"专属资源池ID。","type":"string"},"resource_name":{"description":"专属资源池名称","type":"string"},"status":{"description":"专属资源池状态","enum":["NORMAL","BUILDING","EXTENDING","DELETED"],"type":"string"}}},"DedicatedResourceCapacity":{"properties":{"ram":{"description":"内存大小,单位GB","format":"int32","type":"integer"},"vcpus":{"description":"cpu核数","format":"int32","type":"integer"},"volume":{"description":"磁盘容量,单位GB","format":"int64","type":"integer"}}},"ListDedicatedResourceResponse":{"description":"专属资源池列表。","properties":{"resources":{"description":"专属资源池信息","items":{"$ref":"#/definitions/DedicatedResource"},"type":"array"},"total_count":{"description":"专属资源池数量","format":"int32","type":"integer"}}},"MysqlErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例不存在","type":"string"}},"required":["error_code","error_msg"]}},"description":null,"group_id":"1bf15763f8164608918d180a9b1aa137","host":"gaussdb.cn-north-4.myhuaweicloud.com","id":"7cdb05a10fb645df9b80faee01532920","info_version":"v3","method":"get","name":"ListGaussMySqlDedicatedResources","parameters":{},"paths":{"/v3/{project_id}/dedicated-resources":{"get":{"description":"获取专属资源池列表,包括用户开通的所有专属资源池信息。","operationId":"ListGaussMySqlDedicatedResources","parameters":[{"description":"用户Token。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-example":"******"},{"description":"语言。","in":"header","name":"X-Language","required":false,"type":"string","x-example":"zh-cn"},{"description":"租户在某一region下的project ID。\n\n获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-taurusdb/taurusdb_10_0004.html)。\n","in":"path","name":"project_id","required":true,"type":"string","x-example":"619d3e78f61b4be68bc5aa0b59edcf7b"},{"description":"索引位置,偏移量。从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。","format":"int32","in":"query","name":"offset","type":"integer","x-example":"0"},{"description":"查询记录数。默认为100,不能为负数,最小值为1,最大值为100。","format":"int32","in":"query","name":"limit","type":"integer","x-example":"100"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"resources":[{"architecture":"ARM","availability_zone":["az1xahz"],"capacity":{"ram":256,"vcpus":64,"volume":10000000},"engine_name":"gaussdb-mysql","id":"1d07f7ba-f140-46a7-b002-58ba22ee6ff3","resource_name":"testdcc","status":"NORMAL"}]}},"schema":{"$ref":"#/definitions/ListDedicatedResourceResponse"}},"400":{"description":"Client error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}},"500":{"description":"Server error.","schema":{"$ref":"#/definitions/MysqlErrorResponse"}}},"summary":"查询专属资源池列表","tags":["实例管理"],"x-is-registered":"N","x-request-examples-description-1":"查询专属资源池列表。","x-request-examples-url-1":"GET https://{endpoint}/v3/054e292c9880d4992f02c0196d3ea468/dedicated-resources","x-support-sdk":"Y"}}},"product_short":"GaussDB","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询专属资源池列表","tags":"实例管理","uri":null,"version":"2.0"}