Viewing the Details of a Flavor
Function
This API is used to view the details of a flavor.
Calling Method
For details, see Calling APIs.
URI
GET /v3/{project_id}/elb/flavors/{flavor_id}
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Specifies the project ID. |
flavor_id | Yes | String | Specifies the flavor ID. |
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
X-Auth-Token | Yes | String | Specifies the token used for IAM authentication. |
Response Parameters
Status code: 200
Parameter | Type | Description |
---|---|---|
request_id | String | Specifies the request ID. The value is automatically generated. |
flavor | Flavor object | Specifies the flavor. |
Parameter | Type | Description |
---|---|---|
id | String | Specifies the flavor ID. |
info | FlavorInfo object | Specifies the flavor metrics. |
name | String | Specifies the flavor name.
|
shared | Boolean | Specifies whether the flavor is available to all users.
|
project_id | String | Specifies the project ID. |
type | String | Specifies the flavor type. The type can be:
|
flavor_sold_out | Boolean | Specifies whether the flavor is sold out.
|
public_border_group | String | Specifies the public border group, for example, center. |
category | Integer | Specifies the public border group code. 0 indicates center. 21 indicates homezone. |
Parameter | Type | Description |
---|---|---|
connection | Integer | Specifies the number of concurrent connections per second. |
cps | Integer | Specifies the number of new connections per second. |
qps | Integer | Specifies the number of requests per second. This parameter is available only for load balancers at Layer 7. |
bandwidth | Integer | Specifies the bandwidth, in kbit/s |
lcu | Integer | Specifies the number of LCUs in the flavor. NOTE: An LCU measures the dimensions on which a dedicated load balancer routes the traffic. The higher value indicates better performance. |
https_cps | Integer | Specifies the number of new HTTPS connections. This parameter is available only for load balancers at Layer 7. |
Example Requests
Querying the details of a flavor
GET https://{ELB_Endpoint}/v3/{project_id}/elb/flavors/{flavor_id}
Example Responses
Status code: 200
Successful request.
{"flavor" : {"shared" : true,"project_id" : "8d53f081ea24444aa95e2bfa942ef6ee","info" : {"bandwidth" : 10000000,"connection" : 8000000,"cps" : 80000,"qps" : 160000,"lcu" : 100},"id" : "3588b525-63ed-4b8f-8a03-6aaa9ad1c36a","name" : "L7_flavor.slb.s2.large","type" : "L7","flavor_sold_out" : false,"public_border_group" : "center","category" : 0},"request_id" : "3b9fb516-b7bb-4760-9128-4a23dd36ae10"}
Status Codes
Status Code | Description |
---|---|
200 | Successful request. |
Error Codes
See Error Codes.
- Calling Method
- URI