[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/Amazon/Ec2/ -> Ebs.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 342 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Amazon_Ec2_Ebs:: (10 methods):
  createNewVolume()
  createVolumeFromSnapshot()
  describeVolume()
  describeAttachedVolumes()
  attachVolume()
  detachVolume()
  deleteVolume()
  createSnapshot()
  describeSnapshot()
  deleteSnapshot()


Class: Zend_Service_Amazon_Ec2_Ebs  - X-Ref

An Amazon EC2 interface to create, describe, attach, detach and delete Elastic Block
Storage Volumes and Snaphsots.

createNewVolume($size, $availabilityZone)   X-Ref
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.

param: string $size                  The size of the volume, in GiB.
param: string $availabilityZone      The availability zone in which to create the new volume.
return: array

createVolumeFromSnapshot($snapshotId, $availabilityZone)   X-Ref
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.

param: string $snapshotId            The snapshot from which to create the new volume.
param: string $availabilityZone      The availability zone in which to create the new volume.
return: array

describeVolume($volumeId = null)   X-Ref
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.

param: string|array $volumeId        The ID or array of ID's of the volume(s) to list
return: array

describeAttachedVolumes($instanceId)   X-Ref
No description

attachVolume($volumeId, $instanceId, $device)   X-Ref
Attaches an Amazon EBS volume to an instance

param: string $volumeId              The ID of the Amazon EBS volume
param: string $instanceId            The ID of the instance to which the volume attaches
param: string $device                Specifies how the device is exposed to the instance (e.g., /dev/sdh).
return: array

detachVolume($volumeId, $instanceId = null, $device = null, $force = false)   X-Ref
Detaches an Amazon EBS volume from an instance

param: string $volumeId              The ID of the Amazon EBS volume
param: string $instanceId            The ID of the instance from which the volume will detach
param: string $device                The device name
param: boolean $force                Forces detachment if the previous detachment attempt did not occur cleanly
return: array

deleteVolume($volumeId)   X-Ref
Deletes an Amazon EBS volume

param: string $volumeId              The ID of the volume to delete
return: boolean

createSnapshot($volumeId)   X-Ref
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

param: string $volumeId              The ID of the Amazon EBS volume to snapshot
return: array

describeSnapshot($snapshotId = null)   X-Ref
Describes the status of Amazon EBS snapshots

param: string|array $snapshotId      The ID or arry of ID's of the Amazon EBS snapshot
return: array

deleteSnapshot($snapshotId)   X-Ref
Deletes a snapshot of an Amazon EBS  volume that is stored in Amazon S3

param: string $snapshotId            The ID of the Amazon EBS snapshot to delete
return: boolean



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1