HPCloud-PHP
1.2.0
PHP bindings for HPCloud and OpenStack services.
|
Class for working with Database Flavors Details. More...
Public Member Functions | |
__construct ($name, $id) | |
name () | |
Get the name of a flavor (e.g., small). | |
id () | |
Get the id of a flavor. | |
links () | |
Get the links for a flavor. | |
url () | |
Get the callback url for the flavor. | |
ram () | |
Get the amount of ram available to this flavor. | |
vcpu () | |
Get the number of virtual CPUs available to this flavor. |
Static Public Member Functions | |
static | newFromArray (array $array) |
Protected Attributes | |
$name | |
$id | |
$url | |
$links | |
$ram | |
$vcpu |
Class for working with Database Flavors Details.
Definition at line 32 of file FlavorDetails.php.
__construct | ( | $name, | |
$id | |||
) |
Definition at line 55 of file FlavorDetails.php.
References FlavorDetails\$id, $name, and FlavorDetails\name().
id | ( | ) |
Get the id of a flavor.
Definition at line 76 of file FlavorDetails.php.
links | ( | ) |
Get the links for a flavor.
array |
Definition at line 87 of file FlavorDetails.php.
name | ( | ) |
Get the name of a flavor (e.g., small).
Definition at line 66 of file FlavorDetails.php.
References $name.
Referenced by FlavorDetails\__construct().
|
static |
Definition at line 41 of file FlavorDetails.php.
ram | ( | ) |
Get the amount of ram available to this flavor.
int |
Definition at line 110 of file FlavorDetails.php.
url | ( | ) |
Get the callback url for the flavor.
string |
Definition at line 99 of file FlavorDetails.php.
References DBaaS\$url.
vcpu | ( | ) |
Get the number of virtual CPUs available to this flavor.
int |
Definition at line 121 of file FlavorDetails.php.
|
protected |
Definition at line 35 of file FlavorDetails.php.
Referenced by FlavorDetails\__construct().
|
protected |
Definition at line 37 of file FlavorDetails.php.
|
protected |
Definition at line 34 of file FlavorDetails.php.
|
protected |
Definition at line 38 of file FlavorDetails.php.
|
protected |
Definition at line 36 of file FlavorDetails.php.
|
protected |
Definition at line 39 of file FlavorDetails.php.