Detailed Description
Definition at line 38 of file Ebs.php.
Member Function Documentation
Attaches an Amazon EBS volume to an instance
- Parameters:
-
| string | $volumeId | The ID of the Amazon EBS volume |
| string | $instanceId | The ID of the instance to which the volume attaches |
| string | $device | Specifies how the device is exposed to the instance (e.g., /dev/sdh). |
- Returns:
- array
Definition at line 176 of file Ebs.php.
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 | $size | The size of the volume, in GiB. |
| string | $availabilityZone | The availability zone in which to create the new volume. |
- Returns:
- array
Definition at line 50 of file Ebs.php.
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 | $volumeId | The ID of the Amazon EBS volume to snapshot |
- Returns:
- array
Definition at line 262 of file Ebs.php.
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 | $snapshotId | The snapshot from which to create the new volume. |
| string | $availabilityZone | The availability zone in which to create the new volume. |
- Returns:
- array
Definition at line 80 of file Ebs.php.
Deletes a snapshot of an Amazon EBS volume that is stored in Amazon S3
- Parameters:
-
| string | $snapshotId | The ID of the Amazon EBS snapshot to delete |
- Returns:
- boolean
Definition at line 329 of file Ebs.php.
Deletes an Amazon EBS volume
- Parameters:
-
| string | $volumeId | The ID of the volume to delete |
- Returns:
- boolean
Definition at line 241 of file Ebs.php.
Describes the status of Amazon EBS snapshots
- Parameters:
-
| string | array | $snapshotId | The ID or arry of ID's of the Amazon EBS snapshot |
- Returns:
- array
Definition at line 288 of file Ebs.php.
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 | $volumeId | The ID or array of ID's of the volume(s) to list |
- Returns:
- array
Definition at line 108 of file Ebs.php.
| detachVolume |
( |
$ |
volumeId, |
|
|
$ |
instanceId = null, |
|
|
$ |
device = null, |
|
|
$ |
force = false |
|
) |
| |
Detaches an Amazon EBS volume from an instance
- Parameters:
-
| string | $volumeId | The ID of the Amazon EBS volume |
| string | $instanceId | The ID of the instance from which the volume will detach |
| string | $device | The device name |
| boolean | $force | Forces 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.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Amazon/Ec2/Ebs.php