PHP Class Scalr\Modules\Platforms\Ec2\Helpers\Ec2Helper

Exibir arquivo Open project: scalr/scalr Class Usage Examples

Public Methods

Method Description
createObjectTags ( object $object ) Create tags for different EC2 objects (instance, volume, ami)
farmSave ( DBFarm $DBFarm, array $roles )
farmUpdateRoleSettings ( DBFarmRole $DBFarmRole, $oldSettings, $newSettings )
farmValidateRoleSettings ( $settings, $rolename )
loadSecurityGroups ( ) Creates a list of Amazon's security groups

Method Details

createObjectTags() public static method

Create tags for different EC2 objects (instance, volume, ami)
public static createObjectTags ( object $object )
$object object (DBServer and BundleTask)

farmSave() public static method

public static farmSave ( DBFarm $DBFarm, array $roles )
$DBFarm DBFarm
$roles array

farmUpdateRoleSettings() public static method

public static farmUpdateRoleSettings ( DBFarmRole $DBFarmRole, $oldSettings, $newSettings )
$DBFarmRole DBFarmRole

farmValidateRoleSettings() public static method

public static farmValidateRoleSettings ( $settings, $rolename )

loadSecurityGroups() public static method

Creates a list of Amazon's security groups
public static loadSecurityGroups ( )