Property | Type | Description | |
---|---|---|---|
$container | DI Container | ||
$db | ADODB_mysqli | ||
$platform |
Method | Description | |
---|---|---|
ResumeServer ( DBServer $DBServer ) | ||
__construct ( ) | ||
getConfigVariable ( string $name, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) : string | Gets platform property | |
getContainer ( ) : |
Gets DI container | |
getEndpointUrl ( Scalr_Environment $env, string $group = null ) : string | null | Gets endpoint url for private clouds | |
getImageInfo ( Scalr_Environment $environment, $cloudLocation, $imageId ) | ||
getInstanceType ( $instanceTypeId, Scalr_Environment $env, $cloudLocation = null ) | ||
getOrphanedServers ( |
||
hasCloudPrices ( Scalr_Environment $env ) | ||
setConfigVariable ( array $pars, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) | Sets the values for the specified platform properties |
Method | Description | |
---|---|---|
getCachedInstanceTypes ( string $platform, string $url, string $cloudLocation ) : |
Gets active instance types for the specified cloud platform, url and location from the cache |
protected getCachedInstanceTypes ( string $platform, string $url, string $cloudLocation ) : |
||
$platform | string | A cloud platform |
$url | string | A cloud endpoint url |
$cloudLocation | string | A cloud location |
return | Returns collection of the CloudInstanceType entities on success or false otherwise |
public getConfigVariable ( string $name, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) : string | ||
$name | string | The name of the platform property |
$env | Scalr_Environment | The environment |
$encrypted | string | optional This is ignored |
$cloudLocation | string | optional The cloud location |
return | string | Returns the value of the specified platform property |
public getContainer ( ) : |
||
return | Returns DI container |
public getImageInfo ( Scalr_Environment $environment, $cloudLocation, $imageId ) | ||
$environment | Scalr_Environment |
public getInstanceType ( $instanceTypeId, Scalr_Environment $env, $cloudLocation = null ) | ||
$env | Scalr_Environment |
public getOrphanedServers ( |
||
$environment |
public hasCloudPrices ( Scalr_Environment $env ) | ||
$env | Scalr_Environment |
public setConfigVariable ( array $pars, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) | ||
$pars | array | Associative array of the keys -> value |
$env | Scalr_Environment | The environment object |
$encrypted | string | optional This parameter is already ignored |
$cloudLocation | string | The cloud location |
protected Container,Scalr\DependencyInjection $container | ||
return |