Méthode | Description | |
---|---|---|
defaultAction ( ) | ||
executeAction ( integer $farmId, integer $farmRoleId, string $serverId = '', integer $scriptId, integer $shortcutId ) | ||
hasAccess ( ) | ||
viewAction ( ) | ||
xExecuteAction ( integer $farmId, integer $farmRoleId, string $serverId = '', integer $scriptId, string $scriptPath = '', integer $scriptIsSync, integer $scriptTimeout, integer $scriptVersion, array $scriptParams = [], integer $shortcutId = null, integer $editShortcut = null ) | ||
xForkAction ( integer $scriptId, string $name ) | ||
xGetAction ( integer $scriptId ) | ||
xListAction ( string $scriptId = null, string $query = null, string $scope = null, |
||
xRemoveAction ( |
Remove scripts | |
xRemoveVersionAction ( integer $scriptId, integer $version ) | ||
xSaveAction ( integer $id, string $name, string $description, integer $isSync, boolean $allowScriptParameters = false, integer $envId = NULL, integer $timeout = NULL, integer $version, Scalr\UI\Request\RawData $content, string $tags, string $uploadType = NULL, string $uploadUrl = NULL, Scalr\UI\Request\FileUploadData $uploadFile = NULL, boolean $checkScriptParameters = false ) |
Méthode | Description | |
---|---|---|
getScript ( |
||
getScriptInfo ( |
protected getScriptInfo ( |
||
$script | ||
Résultat | array |
public xExecuteAction ( integer $farmId, integer $farmRoleId, string $serverId = '', integer $scriptId, string $scriptPath = '', integer $scriptIsSync, integer $scriptTimeout, integer $scriptVersion, array $scriptParams = [], integer $shortcutId = null, integer $editShortcut = null ) | ||
$farmId | integer | |
$farmRoleId | integer | optional |
$serverId | string | optional |
$scriptId | integer | optional |
$scriptPath | string | optional |
$scriptIsSync | integer | |
$scriptTimeout | integer | |
$scriptVersion | integer | |
$scriptParams | array | optional |
$shortcutId | integer | optional |
$editShortcut | integer | optional |
public xForkAction ( integer $scriptId, string $name ) | ||
$scriptId | integer | |
$name | string |
public xRemoveAction ( |
||
$scriptId | json array of scriptId to remove |
public xRemoveVersionAction ( integer $scriptId, integer $version ) | ||
$scriptId | integer | |
$version | integer |
public xSaveAction ( integer $id, string $name, string $description, integer $isSync, boolean $allowScriptParameters = false, integer $envId = NULL, integer $timeout = NULL, integer $version, Scalr\UI\Request\RawData $content, string $tags, string $uploadType = NULL, string $uploadUrl = NULL, Scalr\UI\Request\FileUploadData $uploadFile = NULL, boolean $checkScriptParameters = false ) | ||
$id | integer | |
$name | string | |
$description | string | |
$isSync | integer | |
$allowScriptParameters | boolean | |
$envId | integer | optional |
$timeout | integer | optional |
$version | integer | |
$content | Scalr\UI\Request\RawData | |
$tags | string | |
$uploadType | string | optional |
$uploadUrl | string | optional |
$uploadFile | Scalr\UI\Request\FileUploadData | optional |
$checkScriptParameters | boolean | optional |