Свойство | 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 |
Свойство | Type | Description | |
---|---|---|---|
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Méthode | 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 |
Méthode | Description | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public createSnapshot ( string $description = null ) : |
||
$description | string | optional A description of the Amazon EBS snapshot. (Up to 255 characters) |
Résultat | 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. |
Résultat | 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. |
Résultat | 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. |
Résultat | Returns AttachmentSetResponseData on success |
public refresh ( ) : |
||
Résultat |
protected array $_properties | ||
Résultat | array |
public string $availabilityZone | ||
Résultat | string |
public DateTime $createTime | ||
Résultat | DateTime |
public bool $encrypted | ||
Résultat | boolean |
public int $iops | ||
Résultat | integer |
public string $kmsKeyId | ||
Résultat | string |
public string $snapshotId | ||
Résultat | string |
public string $status | ||
Résultat | string |
public string $volumeType | ||
Résultat | string |