Gets the list of all available flavors for the specified environment and cloud location
public getInstanceTypes ( Scalr_Environment $env = null, string $cloudLocation = null, boolean $details = false ) : array | ||
$env | Scalr_Environment | optional The scalr environment object |
$cloudLocation | string | optional The cloud location |
$details | boolean | optional Return instance type with detalis (CPU, RAM, DISK, etc) |
return | array | Returns array of the available flavors. It should look like array(flavor => name). |