Method | Description | |
---|---|---|
consoleOutputAction ( ) | ||
createSnapshotAction ( string $serverId ) | ||
dashboardAction ( ) | ||
defaultAction ( ) | ||
downloadScalarizrDebugLogAction ( ) | ||
getList ( array $status = [] ) | ||
getServerEntity ( string $serverId ) : |
Check if given server exists, is allowed for current environment and has farm, farmRole, role | |
getServerStatus ( DBServer $dbServer, boolean $cached = true, integer $timeout ) : array | null | ||
getSshConsoleSettingsAction ( string $serverId ) | ||
messagesAction ( ) | ||
sshConsoleAction ( string $serverId ) | ||
viewAction ( ) | ||
xChangeInstanceTypeAction ( string $serverId, string $instanceType ) | xChangeInstanceType Resizes Ec2 instance | |
xEnableEnhancedNetworkingAction ( string $serverId ) | Enables enhanced networking for specified server | |
xGetEnhancedNetworkingStatusAction ( string $serverId ) | Gets info about enhanced network availability for specified server | |
xGetHealthDetailsAction ( ) | ||
xGetServerRealStatusAction ( string $serverId, integer $timeout = 30 ) | ||
xGetStorageDetailsAction ( ) | ||
xGetWindowsPasswordAction ( string $serverId ) | Retrieve password for a Windows machine | |
xListMessagesAction ( string $serverId ) | ||
xListServersAction ( string $cloudServerId = null, string $cloudServerLocation = null, string $hostname = null, integer $farmId = null, integer $farmRoleId = null, integer $roleId = null, string $serverId = null, string $imageId = null, boolean $showTerminated = null, string $uptime = null ) | Get list of servers | |
xListServersUpdateAction ( |
Update server's information | |
xLockAction ( ) | ||
xResendMessageAction ( ) | ||
xResumeServersAction ( ) | ||
xServerCancelAction ( ) | ||
xServerCancelOperationAction ( ) | ||
xServerCreateSnapshotAction ( string $serverId, string $name = '', string $description = '', boolean $createRole = false, string $scope = '', string $replaceRole = '', boolean $replaceImage = false, integer $rootVolumeSize, string $rootVolumeType = '', integer $rootVolumeIops ) | ||
xServerDeleteAction ( $serverId ) | ||
xServerExcludeFromDnsAction ( ) | ||
xServerGetLaAction ( string $serverId ) | Returns server's LA | |
xServerIncludeInDnsAction ( ) | ||
xServerRebootServersAction ( |
Reboots servers with given ids | |
xServerTerminateServersAction ( ) | ||
xSuspendServersAction ( ) | ||
xSzrRestartAction ( ) | ||
xSzrUpdateAction ( ) |
Method | Description | |
---|---|---|
getSshConsoleSettings ( $dbServer ) | ||
hasDatabaseBehavior ( array $behaviors ) : boolean | Check if at least one of given behaviors is database one | |
listServersResponseHelper ( array &$response ) | Helper for the server lister | |
propertyFilter ( array $array, string $value ) : array |
public createSnapshotAction ( string $serverId ) | ||
$serverId | string |
public getServerEntity ( string $serverId ) : |
||
$serverId | string | |
return |
public getSshConsoleSettingsAction ( string $serverId ) | ||
$serverId | string |
public xChangeInstanceTypeAction ( string $serverId, string $instanceType ) | ||
$serverId | string | |
$instanceType | string |
public xEnableEnhancedNetworkingAction ( string $serverId ) | ||
$serverId | string |
public xGetEnhancedNetworkingStatusAction ( string $serverId ) | ||
$serverId | string |
public xGetServerRealStatusAction ( string $serverId, integer $timeout = 30 ) | ||
$serverId | string | |
$timeout | integer |
public xGetWindowsPasswordAction ( string $serverId ) | ||
$serverId | string |
public xListMessagesAction ( string $serverId ) | ||
$serverId | string |
public xListServersAction ( string $cloudServerId = null, string $cloudServerLocation = null, string $hostname = null, integer $farmId = null, integer $farmRoleId = null, integer $roleId = null, string $serverId = null, string $imageId = null, boolean $showTerminated = null, string $uptime = null ) | ||
$cloudServerId | string | optional Cloud server ID |
$cloudServerLocation | string | optional Cloud server location |
$hostname | string | optional Hostname |
$farmId | integer | optional Farm ID |
$farmRoleId | integer | optional Farm role ID |
$roleId | integer | optional Role ID |
$serverId | string | optional Server ID |
$imageId | string | optional Image ID |
$showTerminated | boolean | optional Whether to show terminated servers as well |
$uptime | string | optional Uptime |
public xListServersUpdateAction ( |
||
$servers | optional List of servers to check against |
public xServerCreateSnapshotAction ( string $serverId, string $name = '', string $description = '', boolean $createRole = false, string $scope = '', string $replaceRole = '', boolean $replaceImage = false, integer $rootVolumeSize, string $rootVolumeType = '', integer $rootVolumeIops ) | ||
$serverId | string | |
$name | string | |
$description | string | |
$createRole | boolean | |
$scope | string | |
$replaceRole | string | |
$replaceImage | boolean | |
$rootVolumeSize | integer | |
$rootVolumeType | string | |
$rootVolumeIops | integer |
public xServerGetLaAction ( string $serverId ) | ||
$serverId | string |
public xServerRebootServersAction ( |
||
$servers | ||
$type | string |