프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |