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
|
Parameter |
Mandatory |
Description |
|---|---|---|
|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
|
flavors_id |
Yes |
Specifies the flavor ID. |
Request
None
Response
Table 2 describes the response parameters.
|
Parameter |
Type |
Description |
|---|---|---|
|
extra_specs |
Object |
Specifies the key-value pair of an ECS flavor. For details about the returned fields, see the os_extra_specs field description in Table 6. |
Example Request
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
Last Article: Querying Details About an ECS Flavor
Next Article: NIC Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.