Method | Description | |
---|---|---|
builderAction ( boolean $devel = false, string $serverId = null ) | ||
createAction ( ) | ||
defaultAction ( ) | ||
editAction ( integer $roleId ) | ||
hasAccess ( ) | ||
listRoleCategories ( boolean $notEmpty = false, boolean $checkRoleImages = false ) : array | Returns list Role Categories | |
managerAction ( ) | Role manager | |
xBuildAction ( string $platform, string $architecture, |
||
xCloneAction ( integer $roleId, string $newRoleName ) | ||
xGetInfoAction ( integer $roleId ) | ||
xGetListAction ( integer $roleId = null, string $catId = null, string $osFamily = null, string $keyword = null, string $platform = null ) | ||
xListRolesAction ( integer $roleId = null, string $platform = null, string $cloudLocation = null, string $imageId = null, string $scope = null, integer $chefServerId = null, integer $catId = null, string $osFamily = null, boolean $isQuickStart = false, boolean $isDeprecated = false, string $status = null, |
Get list of roles for listView | |
xPromoteAction ( integer $id ) | Move role to account scope | |
xRemoveAction ( |
||
xSaveAction ( integer $roleId, string $name, string $description, string $osId, integer $catId, boolean $isQuickStart = false, boolean $isDeprecated = false, boolean $isScalarized = true, |
Method | Description | |
---|---|---|
getInfo ( integer $roleId, boolean $extended = false, array $canAddImage = null ) : array | Get information about role | |
isHvmBundleTypeOs ( Scalr\Model\Entity\Os $os ) : boolean | Check whether specified OS should have EBS HVM bundle type |
public builderAction ( boolean $devel = false, string $serverId = null ) | ||
$devel | boolean | |
$serverId | string |
public xBuildAction ( string $platform, string $architecture, |
||
$platform | string | |
$architecture | string | |
$behaviors | ||
$name | string | |
$createImage | boolean | |
$imageId | string | |
$cloudLocation | string | |
$osId | string | |
$hvm | integer | |
$advanced | ||
$chef |
public xCloneAction ( integer $roleId, string $newRoleName ) | ||
$roleId | integer | |
$newRoleName | string |
public xListRolesAction ( integer $roleId = null, string $platform = null, string $cloudLocation = null, string $imageId = null, string $scope = null, integer $chefServerId = null, integer $catId = null, string $osFamily = null, boolean $isQuickStart = false, boolean $isDeprecated = false, string $status = null, |
||
$roleId | integer | optional |
$platform | string | optional |
$cloudLocation | string | optional |
$imageId | string | optional |
$scope | string | optional |
$chefServerId | integer | optional |
$catId | integer | optional |
$osFamily | string | optional |
$isQuickStart | boolean | optional |
$isDeprecated | boolean | optional |
$status | string | optional |
$addImage | optional |
public xPromoteAction ( integer $id ) | ||
$id | integer | ID of Role |
public xRemoveAction ( |
||
$roles |
public xSaveAction ( integer $roleId, string $name, string $description, string $osId, integer $catId, boolean $isQuickStart = false, boolean $isDeprecated = false, boolean $isScalarized = true, |
||
$roleId | integer | |
$name | string | |
$description | string | |
$osId | string | |
$catId | integer | |
$isQuickStart | boolean | |
$isDeprecated | boolean | |
$isScalarized | boolean | |
$behaviors | ||
$images | ||
$scripts | ||
$variables | ||
$chef | ||
$environments |