Свойство | Тип | Описание | |
---|---|---|---|
$filteringDecision | Scalr\Acl\Resource\CloudResourceFilteringDecision | ||
$listCache | array | Simple cache for volumes data | |
$managedFarms | array | List of the managed farms |
Метод | Описание | |
---|---|---|
attachAction ( string $cloudLocation, string $volumeId ) | Attach volume | |
createAction ( ) | ||
defaultAction ( ) | ||
hasAccess ( ) | ||
viewAction ( ) | ||
xAttachAction ( ) | ||
xCreateAction ( string $cloudLocation, string $availabilityZone, integer $size, string $snapshotId = null, boolean $encrypted = false, string $kmsKeyId = null, string $type = 'standard', integer $iops = null, string $serverId = null, boolean $mount = false, string $mountPoint = null ) | ||
xDetachAction ( ) | ||
xGetServersListAction ( string $availabilityZone ) | Gets the list of the servers which should be used to attach a new volume to it | |
xListVolumesAction ( string $cloudLocation, string $volumeId = null, integer $farmId = null, integer $farmRoleId = null ) | List volumes | |
xRemoveAction ( ) |
Метод | Описание | |
---|---|---|
attachVolumeToServer ( |
Attaches volume to server | |
describeVolume ( string $cloudLocation, string $id ) : |
Describes volume on the EC2 and checks ACL permissions | |
getFilteringDecision ( ) : Scalr\Acl\Resource\CloudResourceFilteringDecision | Gets Cloud Resource filtering decision that is based on the User | |
getManagedFarms ( ) : array | Gets the list of the managed Farms | |
getRunningServersByAvailabilityZone ( string $availabilityZone ) : array | Gets the list of the running servers by the specified availability zone |
public attachAction ( string $cloudLocation, string $volumeId ) | ||
$cloudLocation | string | |
$volumeId | string |
protected attachVolumeToServer ( |
||
$info | AWS EBS Volume info |
protected describeVolume ( string $cloudLocation, string $id ) : |
||
$cloudLocation | string | Cloud location |
$id | string | ID of the volume |
Результат | Returns the volume data |
protected getFilteringDecision ( ) : Scalr\Acl\Resource\CloudResourceFilteringDecision | ||
Результат | Scalr\Acl\Resource\CloudResourceFilteringDecision |
protected getManagedFarms ( ) : array | ||
Результат | array | Returns the list of the managed Farms |
protected getRunningServersByAvailabilityZone ( string $availabilityZone ) : array | ||
$availabilityZone | string | |
Результат | array | Returns array looks like [serverId => name by convention] |
public xCreateAction ( string $cloudLocation, string $availabilityZone, integer $size, string $snapshotId = null, boolean $encrypted = false, string $kmsKeyId = null, string $type = 'standard', integer $iops = null, string $serverId = null, boolean $mount = false, string $mountPoint = null ) | ||
$cloudLocation | string | |
$availabilityZone | string | |
$size | integer | |
$snapshotId | string | |
$encrypted | boolean | |
$kmsKeyId | string | |
$type | string | |
$iops | integer | |
$serverId | string | |
$mount | boolean | |
$mountPoint | string |
public xGetServersListAction ( string $availabilityZone ) | ||
$availabilityZone | string | Availability zone |
protected CloudResourceFilteringDecision,Scalr\Acl\Resource $filteringDecision | ||
Результат | Scalr\Acl\Resource\CloudResourceFilteringDecision |
protected array $listCache | ||
Результат | array |
protected array $managedFarms | ||
Результат | array |