Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Свойство | Тип | Описание | |
---|---|---|---|
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public createSnapshot ( string $description = null ) : |
||
$description | string | optional A description of the Amazon EBS snapshot. (Up to 255 characters) |
Результат | 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. |
Результат | 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. |
Результат | 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. |
Результат | Returns AttachmentSetResponseData on success |
public refresh ( ) : |
||
Результат |
protected array $_properties | ||
Результат | array |
public string $availabilityZone | ||
Результат | string |
public DateTime $createTime | ||
Результат | DateTime |
public bool $encrypted | ||
Результат | boolean |
public int $iops | ||
Результат | integer |
public string $kmsKeyId | ||
Результат | string |
public string $snapshotId | ||
Результат | string |
public string $status | ||
Результат | string |
public string $volumeType | ||
Результат | string |