프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |