Property | Type | Description | |
---|---|---|---|
$description | string | The description of the snapshot | |
$encrypted | boolean | Indicates whether the snapshot is encrypted. | |
$ownerAlias | string | The AWS account alias (amazon, self, etc.) or AWS account ID that owns the AMI. | |
$ownerId | string | The ID of the AWS account that owns the snapshot | |
$progress | string | The progress of the snapshot, as a percentage | |
$snapshotId | string | The ID of the snapshot. | |
$startTime | DateTime | The time stamp when the snapshot was initiated | |
$status | string | The snapshot state pending | completed | error | |
$volumeId | string | The ID of the volume. | |
$volumeSize | string | The size of the volume, in GiB. |
Property | Type | Description | |
---|---|---|---|
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Method | Description | |
---|---|---|
copy ( string $srcRegion, string $description = null, string $destRegion = null, string $presignedUrl = null ) : string | CopySnapshot action | |
createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | CreateTags action | |
delete ( ) : boolean | DeleteSnapshot action | |
deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | DeleteTags action | |
refresh ( ) : |
DescribeSnapshots action |
Method | Description | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public copy ( string $srcRegion, string $description = null, string $destRegion = null, string $presignedUrl = null ) : string | ||
$srcRegion | string | The ID of the AWS region that contains the snapshot to be copied. |
$description | string | optional A description of the new Amazon EBS snapshot. |
$destRegion | string | optional The ID of the destination region. |
$presignedUrl | string | optional The pre-signed URL that facilitates copying an encrypted snapshot. The PresignedUrl should use the snapshot source endpoint, the CopySnapshot action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion parameters. |
return | string | Returns ID of the created snapshot 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 refresh ( ) : |
||
return |
protected array $_properties | ||
return | array |
public string $description | ||
return | string |
public bool $encrypted | ||
return | boolean |
public string $ownerAlias | ||
return | string |
public string $ownerId | ||
return | string |
public string $progress | ||
return | string |
public DateTime $startTime | ||
return | DateTime |
public string $status | ||
return | string |
public string $volumeSize | ||
return | string |