Property | Type | Description | |
---|---|---|---|
$availabilityZone | string | The Availability Zone in which the volume was created. | |
$createTime | DateTime | The time stamp when volume creation was initiated. | |
$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 | The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the volume encryption key for the volume. | |
$size | string | The size of the volume, in GiBs. | |
$snapshotId | string | The snapshot from which the volume was created (optional). | |
$status | string | Valid values: creating | available | in-use | deleting | deleted | error | |
$volumeId | string | The ID of the volume. | |
$volumeType | string | The volume type standard | io1 | gp2 | sc1 | st1 |
Property | Type | Description | |
---|---|---|---|
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Method | Description | |
---|---|---|
attach ( string $instanceId, string $device ) : |
AttachVolume action | |
createSnapshot ( string $description = null ) : |
CreateSnapshot action | |
createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | CreateTags action | |
delete ( ) : boolean | DeleteVolume action | |
deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | DeleteTags action | |
detach ( string $instanceId = null, string $device = null, boolean $force = null ) : |
DetachVolume action | |
refresh ( ) : |
DescribeVolumes action |
Method | Description | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public createSnapshot ( string $description = null ) : |
||
$description | string | optional A description of the Amazon EBS snapshot. (Up to 255 characters) |
return | Returns the SnapshotData on success |
public createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | ||
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array | The key/value pair list of the Tags. |
return | boolean | Returns true on success or throws an exception otherwise |
public deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | ||
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array | The key/value pair list of the Tags. |
return | boolean | Returns true on success or throws an exception otherwise |
public detach ( string $instanceId = null, string $device = null, boolean $force = null ) : |
||
$instanceId | string | optional The ID of the Instance. |
$device | string | optional The device name. |
$force | boolean | optional 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 a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. |
return | Returns AttachmentSetResponseData on success |
public refresh ( ) : |
||
return |
protected array $_properties | ||
return | array |
public string $availabilityZone | ||
return | string |
public DateTime $createTime | ||
return | DateTime |
public bool $encrypted | ||
return | boolean |
public int $iops | ||
return | integer |
public string $kmsKeyId | ||
return | string |
public string $snapshotId | ||
return | string |
public string $status | ||
return | string |
public string $volumeType | ||
return | string |