Querying Details About a BMS Flavor (Native OpenStack API)

Function

This API is used to query details about a BMS flavor, such as the flavor name, CPU cores, and memory.

URI

GET /v2.1/{project_id}/flavors/{flavor_id}

Table 1 lists the parameters.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

For how to obtain the project ID, see Obtaining Required Information.

flavor_id

Yes

Specifies the flavor ID.

You can obtain the flavor ID from the BMS console or using the Querying BMS Flavors (Native OpenStack API) API.

Request

Response

Returned Values

Normal values

Returned Values

Description

200

The request has been successfully processed.

For details about other returned values, see Status Codes.

Error Codes

See Error Codes.