Viewing Details of a Flavor¶
Function¶
This API is used to view details of a flavor.
Constraints¶
This API can only be used to view the 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 details. |
name |
String |
Specifies the flavor name. |
shared |
Boolean |
Specifies whether the flavor is available to all users.
Default: true |
project_id |
String |
Specifies the project ID. |
type |
String |
Specifies the flavor type. Flavors can be filtered by type. Minimum: 1 Maximum: 32 |
Parameter |
Type |
Description |
---|---|---|
connection |
Integer |
Specifies the maximum concurrent connections. |
cps |
Integer |
Specifies the number of new connections per second. |
qps |
Integer |
Specifies the number of requests per second at Layer 7. |
bandwidth |
Integer |
Specifies the inbound and outbound bandwidth in the unit of Kbit/s. |
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" : "573d73c9f90e48d0bddfa0eb202b25c2",
"info" : {
"connection" : 6000,
"cps" : 3000,
"qps" : 1000
},
"id" : "becf3beb-7653-45ab-a025-961597a901bc",
"name" : "L7_flavor.elb.s2.medium",
"type" : "L7"
},
"request_id" : "3b9fb516-b7bb-4760-9128-4a23dd36ae10"
}
Status Codes¶
Status Code |
Description |
---|---|
200 |
Successful request. |
Error Codes¶
See Error Codes.