{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"Erro":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200082","type":"string"},"error_msg":{"description":"错误消息。","example":"The available IP addresses in the selected subnet are insufficient.","type":"string"}},"type":"object"},"HtapFlavorInfo":{"properties":{"flavors":{"description":"规格信息。","items":{"properties":{"az_status":{"additionalProperties":{"type":"string"},"description":"规格所在AZ的状态,包含以下状态:\n\nnormal:在售。\n\nunsupported:暂不支持该规格。\n\nsellout:售罄。","type":"object"},"id":{"description":"规格ID,该字段唯一。","example":"de565db8-0a96-37ea-9388-61167624712c","type":"string"},"instance_mode":{"description":"实例类型。目前仅支持Cluster、Single。","example":"Cluster","type":"string"},"ram":{"description":"内存大小,单位为GB。","example":16,"type":"string"},"spec_code":{"description":"资源规格编码,.同创建指定的flavor_ref。例如:gaussdb.sr-be.xlarge.x86.4。\n\n“gaussdb.sr”代表产品。\n\n“xlarge” 代表计算规格为4U。\n\n“x86” 代表CPU架构为x86。\n\n“4” 表示vCPU和内存为1:4。","example":"gaussdb.sr-be.xlarge.x86.4","type":"string"},"type":{"description":"规格类型,取值为arm、x86和generalX86。\n\narm:独享型arm规格。\n\nx86:独享型x86规格。\n\ngeneralX86:通用型X86规格。","example":"x86","type":"string"},"vcpus":{"description":"CPU大小。例如:1表示1U。","example":4,"type":"string"},"version_name":{"description":"数据库版本号。","example":8.0,"type":"string"}}},"type":"array"}},"type":"object"}},"description":null,"group_id":"1bf15763f8164608918d180a9b1aa137","host":"gaussdb.cn-north-4.myhuaweicloud.com","id":"2bb9908e265943ee906c5a7982044ece","info_version":"v3","method":"get","name":"ListHtapFlavor","parameters":{},"paths":{"/v3/{project_id}/htap/flavors/{engine_name}":{"get":{"description":"HTAP查询规格信息。","operationId":"ListHtapFlavor","parameters":[{"description":"租户在某一Region下的project ID。\n\n获取方法请参见[获取项目ID](https://support.huaweicloud.com/api-taurusdb/taurusdb_10_0004.html)。","in":"path","name":"project_id","required":true,"type":"string"},{"description":"HTAP引擎名。\n取值范围:\n- star-rocks\n- click-house","in":"path","name":"engine_name","required":true,"type":"string"},{"description":"可用区模式,当前仅支持single。","in":"query","name":"availability_zone_mode","required":false,"type":"string"},{"description":"规格码,提供后仅查询指定规格码规格信息。","in":"query","name":"spec_code","required":false,"type":"string"},{"description":"用户Token。\n\n通过调用IAM服务[获取用户Token](https://support.huaweicloud.com/api-iam/iam_30_0001.html)接口获取。\n\n请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"内容类型。 取值:application/json。","in":"header","name":"Content-Type","required":true,"type":"string"},{"description":"请求语言类型。默认en-us。\n取值范围:\n- en-us\n- zh-cn","in":"header","name":"X-Language","required":false,"type":"string"},{"description":"数据库版本号,不填默认3.1.6.0。","in":"query","name":"version_name","required":false,"type":"string"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"flavors":[{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"de565db8-0a96-37ea-9388-61167624712c","instance_mode":"Cluster","ram":"16","spec_code":"gaussdb.sr-be.xlarge.x86.4","type":"x86","vcpus":"4","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"afef3bfd-ac7c-32e1-ba44-c388acbb196a","instance_mode":"Cluster","ram":"16","spec_code":"gaussdb.sr-fe.xlarge.x86.4","type":"x86","vcpus":"4","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"c50e8e15-f2fc-3b40-aca6-c98f07ce2ce0","instance_mode":"Cluster","ram":"32","spec_code":"gaussdb.sr-be.2xlarge.x86.4","type":"x86","vcpus":"8","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"24059750-4280-3ee5-a44b-488b924633b4","instance_mode":"Cluster","ram":"32","spec_code":"gaussdb.sr-fe.2xlarge.x86.4","type":"x86","vcpus":"8","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"a48c63dc-5563-3813-9e13-39d3301e56f4","instance_mode":"Cluster","ram":"64","spec_code":"gaussdb.sr-be.4xlarge.x86.4","type":"x86","vcpus":"16","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"0ef44c01-f7a1-30f5-9f05-9e47094e8c1f","instance_mode":"Cluster","ram":"64","spec_code":"gaussdb.sr-fe.4xlarge.x86.4","type":"x86","vcpus":"16","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"normal","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"2bf6aa50-50da-3f27-91af-a8c873070537","instance_mode":"Cluster","ram":"128","spec_code":"gaussdb.sr-fe.8xlarge.x86.4","type":"x86","vcpus":"32","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"normal","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"9f52a065-aa93-371a-9975-959fedf6e24f","instance_mode":"Cluster","ram":"128","spec_code":"gaussdb.sr-be.8xlarge.x86.4","type":"x86","vcpus":"32","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"709822e4-567f-3e85-b4af-cb099206c8e2","instance_mode":"Cluster","ram":"256","spec_code":"gaussdb.sr-fe.16xlarge.x86.4","type":"x86","vcpus":"64","version_name":"8.0"},{"az_status":{"cn-southwest-244a":"unsupported","cn-southwest-244b":"normal","cn-southwest-244c":"normal","cn-southwest-244d":"normal"},"id":"4e56e208-0226-34bb-b84d-035ab0497824","instance_mode":"Cluster","ram":"256","spec_code":"gaussdb.sr-be.16xlarge.x86.4","type":"x86","vcpus":"64","version_name":"8.0"}]}},"schema":{"$ref":"#/definitions/HtapFlavorInfo"}},"400":{"description":"Client error.","examples":{"application/json":{"error_code":"DBS.280434","error_msg":"Invalid specification code."}},"schema":{"$ref":"#/definitions/Erro"}},"500":{"description":"Server error.","schema":{"$ref":"#/definitions/Erro"}}},"summary":"HTAP查询规格信息","tags":["HTAP-标准版"],"x-is-registered":"Y","x-request-examples-description-1":"查询StarRocks规格信息","x-request-examples-url-1":"GET https://{endpoint}/v3/23a50154cf494ec9ad6883979a12db0a/htap/flavors/star-rocks?availability_zone_mode=single","x-support-sdk":"Y"}}},"product_short":"GaussDB","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"HTAP查询规格信息","tags":"HTAP-标准版","uri":null,"version":"2.0"}