Viewing Details of a Flavor¶
Function¶
This API is used to view details of a flavor.
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 value can be one of the following:
Minimum: 1 Maximum: 32 |
flavor_sold_out | Boolean | Specifies whether the flavor is unavailable.
|
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. |
lcu | Integer | Specifies the number of LCUs in the flavor. An LCU measures the dimensions on which a dedicated load balancer routes the traffic. The higher value indicates better perfromance. |
https_cps | Integer | Specifies the number of new HTTPS connections. This parameter is available only for load balancers at Layer 7. |
Example Requests¶
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
},
"request_id" : "3b9fb516-b7bb-4760-9128-4a23dd36ae10"
}
Status Codes¶
Status Code | Description |
---|---|
200 | Successful request. |
Error Codes¶
See Error Codes.