PHP 클래스 Scalr\Service\Aws\Ec2\DataType\SnapshotData

부터: 30.01.2013
저자: Vitaliy Demidov ([email protected])
상속: extends Scalr\Service\Aws\Ec2\AbstractEc2DataType
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

공개 프로퍼티들

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_properties array List of the public properties which is managed by magic getter and setters internally.

공개 메소드들

메소드 설명
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 ( ) : SnapshotData DescribeSnapshots action

보호된 메소드들

메소드 설명
throwExceptionIfNotInitialized ( )

메소드 상세

copy() 공개 메소드

Copies a point-in-time snapshot of an Amazon Elastic Block Store (Amazon EBS) volume and stores it in Amazon Simple Storage Service (Amazon S3).You can copy the snapshot within the same region or from one region to another.You can use the snapshot to create new Amazon EBS volumes or Amazon Machine Images (AMIs)
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.
리턴 string Returns ID of the created snapshot on success.

createTags() 공개 메소드

Adds or overwrites one or more tags for the specified EC2 resource or resources. Each resource can have a maximum of 10 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.
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

delete() 공개 메소드

Deletes a snapshot of an Amazon EBS volume. Note! If you make periodic snapshots of a volume, the snapshots are incremental so that only the blocks on the device that have changed since your last snapshot are incrementally saved in the new snapshot. Even though snapshots are saved incrementally, the snapshot deletion process is designed so that you need to retain only the most recent snapshot in order to restore the volume.
public delete ( ) : boolean
리턴 boolean Returns TRUE on success

deleteTags() 공개 메소드

Deletes a specific set of tags from a specific set of resources. This call is designed to follow a DescribeTags call. You first determine what tags a resource has, and then you call DeleteTags with the resource ID and the specific tags you want to delete.
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

refresh() 공개 메소드

Refreshes current object using API request to AWS NOTE! It refreshes object itself only when EntityManager is enabled. Decision is to use $object = object->refresh() instead;
public refresh ( ) : SnapshotData
리턴 SnapshotData

throwExceptionIfNotInitialized() 보호된 메소드

프로퍼티 상세

$_properties 보호되어 있는 프로퍼티

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
리턴 array

$description 공개적으로 프로퍼티

The description of the snapshot
public string $description
리턴 string

$encrypted 공개적으로 프로퍼티

Indicates whether the snapshot is encrypted.
public bool $encrypted
리턴 boolean

$ownerAlias 공개적으로 프로퍼티

The AWS account alias (amazon, self, etc.) or AWS account ID that owns the AMI.
public string $ownerAlias
리턴 string

$ownerId 공개적으로 프로퍼티

The ID of the AWS account that owns the snapshot
public string $ownerId
리턴 string

$progress 공개적으로 프로퍼티

The progress of the snapshot, as a percentage
public string $progress
리턴 string

$snapshotId 공개적으로 프로퍼티

The ID of the snapshot.
public string $snapshotId
리턴 string

$startTime 공개적으로 프로퍼티

The time stamp when the snapshot was initiated
public DateTime $startTime
리턴 DateTime

$status 공개적으로 프로퍼티

The snapshot state pending | completed | error
public string $status
리턴 string

$volumeId 공개적으로 프로퍼티

The ID of the volume.
public string $volumeId
리턴 string

$volumeSize 공개적으로 프로퍼티

The size of the volume, in GiB.
public string $volumeSize
리턴 string