PHP Class Scalr\Service\Aws\Ec2\DataType\EbsBlockDeviceData

Since: 17.01.2013
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Service\Aws\Ec2\AbstractEc2DataType
Exibir arquivo Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$deleteOnTermination boolean Whether the Amazon EBS volume is deleted on instance termination
$encrypted boolean Indicates whether or not the Amazon EBS volume is encrypted.
$iops integer Valid values: Range is 100 to 2000. Condition: Required when the volume type is io1; not used with standard volumes.
$snapshotId string The ID of the snapshot.
$volumeSize integer Valid values: If the volume type is io1, the minimum size of the volume is 10 GiB. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. Condition: If you're specifying a block device mapping, the volume size is required unless you're creating the volume from a snapshot.
$volumeType string Valid values: standard | io1 | gp2 | sc1 | st1

Public Methods

Method Description
__construct ( integer $volumeSize = null, string $snapshotId = null, string $volumeType = null, integer $iops = null, boolean $deleteOnTermination = null, boolean $encrypted = null ) Constructor

Method Details

__construct() public method

Constructor
public __construct ( integer $volumeSize = null, string $snapshotId = null, string $volumeType = null, integer $iops = null, boolean $deleteOnTermination = null, boolean $encrypted = null )
$volumeSize integer optional The size of the volume, in GiB Valid values: If the volume type is io1, the minimum size of the volume is 10 GiB. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. Condition: If you're specifying a block device mapping, the volume size is required unless you're creating the volume from a snapshot.
$snapshotId string optional The ID of the snapshot.
$volumeType string optional The volume type. Valid values: standard | io1 | gp2 | st1 | sc1
$iops integer optional The number of I/O operations per second (IOPS) that the volume supports. Valid values: Range is 100 to 2000. Condition: Required when the volume type is io1; not used with standard volumes.
$deleteOnTermination boolean optional Whether the Amazon EBS volume is deleted on instance termination
$encrypted boolean Indicates whether or not the Amazon EBS volume is encrypted.

Property Details

$deleteOnTermination public_oe property

Whether the Amazon EBS volume is deleted on instance termination
public bool $deleteOnTermination
return boolean

$encrypted public_oe property

Indicates whether or not the Amazon EBS volume is encrypted.
public bool $encrypted
return boolean

$iops public_oe property

Valid values: Range is 100 to 2000. Condition: Required when the volume type is io1; not used with standard volumes.
public int $iops
return integer

$snapshotId public_oe property

The ID of the snapshot.
public string $snapshotId
return string

$volumeSize public_oe property

Valid values: If the volume type is io1, the minimum size of the volume is 10 GiB. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size. Condition: If you're specifying a block device mapping, the volume size is required unless you're creating the volume from a snapshot.
public int $volumeSize
return integer

$volumeType public_oe property

Valid values: standard | io1 | gp2 | sc1 | st1
public string $volumeType
return string