{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"MysqlErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例不存在","type":"string"}},"required":["error_code","error_msg"]},"MysqlProxyComputeFlavor":{"properties":{"az_status":{"description":"其中key是可用区编号,value是规格所在az的状态。","type":"object"},"db_type":{"description":"数据库类型。","type":"string"},"id":{"description":"Proxy规格ID。","type":"string"},"ram":{"description":"内存大小,单位为GB。","type":"string"},"spec_code":{"description":"Proxy规格码。","type":"string"},"vcpus":{"description":"CPU大小。例如:1表示1U。","type":"string"}},"required":["vcpus","ram","type","id","spec_code","db_type","az_status"]},"MysqlProxyFlavorGroups":{"properties":{"group_type":{"description":"规格组类型,如x86、arm。","type":"string"},"proxy_flavors":{"description":"规格信息。","items":{"$ref":"#/definitions/MysqlProxyComputeFlavor"},"type":"array"}}},"MysqlProxyFlavors":{"properties":{"proxy_flavor_groups":{"description":"规格组信息。","items":{"$ref":"#/definitions/MysqlProxyFlavorGroups"},"type":"array"}}}},"description":null,"group_id":"1bf15763f8164608918d180a9b1aa137","host":"gaussdb.cn-north-4.myhuaweicloud.com","id":"da38620055124f7492fcc0d83c23471e","info_version":"v3","method":"get","name":"ShowGaussMySqlProxyFlavors","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/proxy/flavors":{"get":{"description":"查询数据库代理规格信息。","operationId":"ShowGaussMySqlProxyFlavors","parameters":[{"description":"用户Token。","in":"header","name":"X-Auth-Token","type":"string","x-example":"******"},{"description":"语言。","in":"header","name":"X-Language","type":"string","x-example":"zh-cn"},{"description":"租户在某一region下的project ID。\n\n获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-gaussdbformysql/gaussdbformysql_10_0004.html)。\n","in":"path","name":"project_id","required":true,"type":"string","x-example":"619d3e78f61b4be68bc5aa0b59edcf7b"},{"description":"实例ID。","in":"path","name":"instance_id","required":true,"type":"string","x-example":"61a4ea66210545909d74a05c27a7179ein07"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"proxy_flavor_groups":{"group_type":"X86","proxy_flavors":{"az_status":{"az1":"normal"},"db_type":"Proxy","id":"19be4c5d-d363-3342-bdbc-0dd9dbf7fafe","ram":4,"spec_code":"gaussdb.proxy.large.x86.2","vcpus":2}}}},"schema":{"$ref":"#/definitions/MysqlProxyFlavors"}},"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/instances/096c0fc43e804757b59946b80dc27f8bin07/proxy/flavors","x-support-sdk":"Y"}}},"product_short":"GaussDB","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询数据库代理规格信息","tags":"数据库代理","uri":null,"version":"2.0"}