forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
7.1 KiB
7.1 KiB
Querying the extra_specs Value for an ECS Flavor
Function
This API is used to query the extra_specs value for a specified ECS flavor.
URI
GET /v2.1/{project_id}/flavors/{flavor_id}/os-extra_specs
GET /v2/{project_id}/flavors/{flavor_id}/os-extra_specs
Table 1 describes the parameters in the URI.
Request
None
Response
Table 2 describes the response parameters.
Example Request
Query the extra_specs details of a specified ECS flavor.
GET https://{endpoint}/v2/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2/os-extra_specs GET https://{endpoint}/v2.1/743b4c0428d94531b9f2add666642e6b/flavors/c3.2xlarge.2/os-extra_specs
Example Response
{ "extra_specs": { "ecs:performancetype": "computingv3", "resource_type": "IOoptimizedC3_2" } }
Returned Values
Parent topic: Flavor Management