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

Show file Open project: scalr/scalr Class Usage Examples

Public Methods

Method Description
farmUpdateRoleSettings ( DBFarmRole $DBFarmRole, $oldSettings, $newSettings )
farmValidateRoleSettings ( $settings, $rolename )
setEipForServer ( DBServer $dbServer ) : boolean | string

Private Methods

Method Description
associateIpAddress ( DBServer $dbServer, string $ipAddress, $allocationId = null ) Associates IP Address to the server
checkElasticIp ( string $ipaddress, Aws $aws ) : boolean Checks Elastic IP availability

Method Details

farmUpdateRoleSettings() public static method

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

farmValidateRoleSettings() public static method

public static farmValidateRoleSettings ( $settings, $rolename )

setEipForServer() public static method

public static setEipForServer ( DBServer $dbServer ) : boolean | string
$dbServer DBServer
return boolean | string