Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Amazon_Ec2_Ebs Class Reference
Inheritance diagram for Zend_Service_Amazon_Ec2_Ebs:
Collaboration diagram for Zend_Service_Amazon_Ec2_Ebs:

Public Member Functions

 createNewVolume ($size, $availabilityZone)
 createVolumeFromSnapshot ($snapshotId, $availabilityZone)
 describeVolume ($volumeId=null)
 describeAttachedVolumes ($instanceId)
 attachVolume ($volumeId, $instanceId, $device)
 detachVolume ($volumeId, $instanceId=null, $device=null, $force=false)
 deleteVolume ($volumeId)
 createSnapshot ($volumeId)
 describeSnapshot ($snapshotId=null)
 deleteSnapshot ($snapshotId)

Detailed Description

Definition at line 38 of file Ebs.php.


Member Function Documentation

attachVolume ( volumeId,
instanceId,
device 
)

Attaches an Amazon EBS volume to an instance

Parameters:
string$volumeIdThe ID of the Amazon EBS volume
string$instanceIdThe ID of the instance to which the volume attaches
string$deviceSpecifies how the device is exposed to the instance (e.g., /dev/sdh).
Returns:
array

Definition at line 176 of file Ebs.php.

Here is the call graph for this function:

createNewVolume ( size,
availabilityZone 
)

Creates a new Amazon EBS volume that you can mount from any Amazon EC2 instance.

You must specify an availability zone when creating a volume. The volume and any instance to which it attaches must be in the same availability zone.

Parameters:
string$sizeThe size of the volume, in GiB.
string$availabilityZoneThe availability zone in which to create the new volume.
Returns:
array

Definition at line 50 of file Ebs.php.

Here is the call graph for this function:

createSnapshot ( volumeId)

Creates a snapshot of an Amazon EBS volume and stores it in Amazon S3. You can use snapshots for backups, to launch instances from identical snapshots, and to save data before shutting down an instance

Parameters:
string$volumeIdThe ID of the Amazon EBS volume to snapshot
Returns:
array

Definition at line 262 of file Ebs.php.

Here is the call graph for this function:

createVolumeFromSnapshot ( snapshotId,
availabilityZone 
)

Creates a new Amazon EBS volume that you can mount from any Amazon EC2 instance.

You must specify an availability zone when creating a volume. The volume and any instance to which it attaches must be in the same availability zone.

Parameters:
string$snapshotIdThe snapshot from which to create the new volume.
string$availabilityZoneThe availability zone in which to create the new volume.
Returns:
array

Definition at line 80 of file Ebs.php.

Here is the call graph for this function:

deleteSnapshot ( snapshotId)

Deletes a snapshot of an Amazon EBS volume that is stored in Amazon S3

Parameters:
string$snapshotIdThe ID of the Amazon EBS snapshot to delete
Returns:
boolean

Definition at line 329 of file Ebs.php.

Here is the call graph for this function:

deleteVolume ( volumeId)

Deletes an Amazon EBS volume

Parameters:
string$volumeIdThe ID of the volume to delete
Returns:
boolean

Definition at line 241 of file Ebs.php.

Here is the call graph for this function:

describeAttachedVolumes ( instanceId)

Definition at line 154 of file Ebs.php.

Here is the call graph for this function:

describeSnapshot ( snapshotId = null)

Describes the status of Amazon EBS snapshots

Parameters:
string | array$snapshotIdThe ID or arry of ID's of the Amazon EBS snapshot
Returns:
array

Definition at line 288 of file Ebs.php.

Here is the call graph for this function:

describeVolume ( volumeId = null)

Lists one or more Amazon EBS volumes that you own, If you do not specify any volumes, Amazon EBS returns all volumes that you own.

Parameters:
string | array$volumeIdThe ID or array of ID's of the volume(s) to list
Returns:
array

Definition at line 108 of file Ebs.php.

Here is the call graph for this function:

Here is the caller graph for this function:

detachVolume ( volumeId,
instanceId = null,
device = null,
force = false 
)

Detaches an Amazon EBS volume from an instance

Parameters:
string$volumeIdThe ID of the Amazon EBS volume
string$instanceIdThe ID of the instance from which the volume will detach
string$deviceThe device name
boolean$forceForces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach an instance from a failed instance. The instance will not have an opportunity to flush file system caches nor file system meta data.
Returns:
array

Definition at line 212 of file Ebs.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations