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

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

Public Properties

Property Type Description
$availabilityZone string The Availability Zone in which the volume was created.
$encrypted boolean Specifies whether the volume should be encrypted.
$iops integer Valid values: Range is 100 to 2000. Condition: Required when the volume type is io1; not used with standard volumes.
$kmsKeyId string This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used.
$size string The size of the volume, in GiBs.
$snapshotId string The snapshot from which the volume was created (optional).
$volumeType string The volume type standard | io1 | gp2

Public Methods

Method Description
__construct ( string | Scalr\Service\Aws\Ec2\DataType\AvailabilityZoneData $availabilityZone, string $size = null, boolean $encrypted = null ) Convenient constructor

Method Details

__construct() public method

Convenient constructor
public __construct ( string | Scalr\Service\Aws\Ec2\DataType\AvailabilityZoneData $availabilityZone, string $size = null, boolean $encrypted = null )
$availabilityZone string | Scalr\Service\Aws\Ec2\DataType\AvailabilityZoneData The Availability Zone in which the volume was created.
$size string optional Size of the volume, in GiBs.
$encrypted boolean optional Specifies whether the volume should be encrypted.

Property Details

$availabilityZone public property

The Availability Zone in which the volume was created.
public string $availabilityZone
return string

$encrypted public property

Specifies whether the volume should be encrypted.
public bool $encrypted
return boolean

$iops public 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

$kmsKeyId public property

This parameter is only required if you want to use a non-default CMK; if this parameter is not specified, the default CMK for EBS is used.
public string $kmsKeyId
return string

$size public property

The size of the volume, in GiBs.
public string $size
return string

$snapshotId public property

The snapshot from which the volume was created (optional).
public string $snapshotId
return string

$volumeType public property

The volume type standard | io1 | gp2
public string $volumeType
return string