{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"AvailabilityZone":{"description":"可用区id","type":"string"},"Flavor":{"description":"配额信息","properties":{"available_zones":{"description":"- 参数解释:可选用该规格的可用区列表。\n- 约束限制:不涉及。\n- 取值范围:不涉及。\n- 默认取值:不涉及。","items":{"$ref":"#/definitions/AvailabilityZone","description":"可用区id"},"type":"array"},"bandwidth":{"description":"- 参数解释:该规格ESW实例可承载的最大带宽。\n- 约束限制:单位:Gbit/s。\n- 取值范围:3、5、10。\n- 默认取值:不涉及。","format":"int32","type":"integer"},"connections":{"description":"- 参数解释:该规格ESW实例可承载的二层连接数量。\n- 约束限制:不涉及。\n- 取值范围:1、3、6。\n- 默认取值:不涉及。","format":"int32","type":"integer"},"id":{"description":"- 参数解释:ESW实例规格的唯一标识。\n- 约束限制:不涉及。\n- 取值范围:1-3。\n- 默认取值:不涉及。","type":"string"},"name":{"description":"- 参数解释:ESW实例规格名称。\n- 约束限制:不涉及。\n- 取值范围:\n - l2cg.small.ha\n - l2cg.medium.ha\n - l2cg.large.ha\n- 默认取值:不涉及。","type":"string"},"pps":{"description":"- 参数解释:该规格ESW实例可承载的最大发包数。\n- 约束限制:不涉及。\n- 取值范围:500000、1000000、2000000。\n- 默认取值:不涉及。","format":"int32","type":"integer"}},"required":["available_zones","bandwidth","connections","id","name","pps"],"type":"object"},"ListFlavorsResponseBody":{"properties":{"flavors":{"description":"- 参数解释:查询实例规格列表的响应体。\n- 约束限制:不涉及。\n- 取值范围:不涉及。\n- 默认取值:不涉及。","items":{"$ref":"#/definitions/Flavor"},"type":"array"},"request_id":{"description":"- 参数解释:请求的唯一标识。\n- 约束限制:UUID格式。\n- 取值范围:不涉及。\n- 默认取值:不涉及。","type":"string"}},"required":["flavors","request_id"],"type":"object"}},"description":null,"group_id":"85bc4f8eac384af6b052b0374dba3eac","host":"esw.cn-north-4.myhuaweicloud.com","id":"9a78013ce0e84235b4ffa00a17c3e2b0","info_version":"v1","method":"get","name":"ListFlavors","parameters":{},"paths":{"/v3/{project_id}/l2cg/flavors":{"get":{"description":"查询租户可选用的ESW实例规格","operationId":"ListFlavors","parameters":[{"description":"- 参数解释:ESW实例所属项目ID。\n- 约束限制:不涉及。\n- 取值范围:不涉及。\n- 默认取值:不涉及。","in":"path","name":"project_id","required":true,"type":"string"}],"responses":{"200":{"description":"GET操作正常返回,更多状态码请参见[状态码](esw_api0020.xml)。","examples":{"application/json":{"flavors":[{"available_zones":["cn-southwest-242b","cn-southwest-242a"],"bandwidth":3,"connections":1,"id":"1","name":"l2cg.small.ha","pps":500000},{"available_zones":["cn-southwest-242b","cn-southwest-242a"],"bandwidth":5,"connections":3,"id":"2","name":"l2cg.medium.ha","pps":1000000},{"available_zones":["cn-southwest-242b","cn-southwest-242a"],"bandwidth":10,"connections":6,"id":"3","name":"l2cg.large.ha","pps":2000000}],"request_id":"7c7d90893b78412b49b2075a685fdebd"}},"schema":{"$ref":"#/definitions/ListFlavorsResponseBody"}}},"summary":"查询ESW实例规格列表","tags":["企业交换机"],"x-api-type":"open-api","x-apiexplorer-hide":"false","x-first-open-time":"","x-hybridcloud":"false","x-is-registered":"Y","x-name":"listFlavors","x-open-region-cloud":"hws,hws_hk,hws_test,hws_eu,dt,dt_test","x-order":6,"x-publishpath":"","x-request-examples-url-1":"GET https://{{endpoint}}/v3/060576782980d5762f9ec014dd2f1148/l2cg/flavors","x-scope":"Commercial","x-source":"SelfDeveloped","x-support-sdk":"Y"}}},"product_short":"ESW","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询ESW实例规格列表","tags":"企业交换机","uri":null,"version":"2.0"}