PHP 클래스 Scalr\Service\Aws\Rds\DataType\DBSnapshotData

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

공개 프로퍼티들

프로퍼티 타입 설명
$allocatedStorage integer Specifies the allocated storage size in gigabytes (GB).
$availabilityZone string Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot.
$dBInstanceIdentifier string Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from
$dBSnapshotIdentifier string Specifies the identifier for the DB Snapshot.
$engine string Specifies the name of the database engine
$engineVersion string Specifies the version of the database engine
$instanceCreateTime DateTime Specifies the time (UTC) when the snapshot was taken
$iops integer Specifies the Provisioned IOPS (I/O operations per second) value of the DB Instance at the time of the snapshot
$licenseModel string License model information for the restored DB Instance
$masterUsername string Provides the master username for the DB Instance
$port integer Specifies the port that the database engine was listening on at the time of the snapshot
$snapshotCreateTime DateTime Provides the time (UTC) when the snapshot was taken.
$snapshotType string Provides the type of the DB Snapshot
$status string Specifies the status of this DB Snapshot
$storageType string Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard
$vpcId string Provides the Vpc Id associated with the DB Snapshot

공개 메소드들

메소드 설명
delete ( ) : DBSnapshotData DeleteDBSnapshot action
getRestoreFromSnapshotRequest ( string $dbInstanceIdentifier ) : Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData Gets a new RestoreDBInstanceFromDBSnapshotRequestData object for this DB Instance
refresh ( ) : DBSnapshotData DescribeDBSnapshots action
restoreFromSnapshot ( Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData | string $request ) : DBInstanceData RestoreDBInstanceFromDBSnapshot action

보호된 메소드들

메소드 설명
throwExceptionIfNotInitialized ( )

메소드 상세

delete() 공개 메소드

Deletes a DBSnapshot. Note! The DBSnapshot must be in the available state to be deleted
public delete ( ) : DBSnapshotData
리턴 DBSnapshotData Returns DBSnapshotData on success or throws an exception.

getRestoreFromSnapshotRequest() 공개 메소드

Gets a new RestoreDBInstanceFromDBSnapshotRequestData object for this DB Instance
public getRestoreFromSnapshotRequest ( string $dbInstanceIdentifier ) : Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData
$dbInstanceIdentifier string The DB Instance Identifier.
리턴 Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData

refresh() 공개 메소드

Refreshes description of the object using request to Amazon. NOTE! It refreshes object itself only when EntityManager is enabled. If not, solution is to use $object = object->refresh() instead.
public refresh ( ) : DBSnapshotData
리턴 DBSnapshotData Returns DBSnapshotData on success or throws an exception.

restoreFromSnapshot() 공개 메소드

Creates a new DB Instance from a DB snapshot.The target database is created from the source database restore point with the same configuration as the original source database, except that the new RDS instance is created with the default security group.
public restoreFromSnapshot ( Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData | string $request ) : DBInstanceData
$request Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData | string The request object or DB Instance Identifier
리턴 DBInstanceData Returns DBInstanceData on success or throws an exception.

throwExceptionIfNotInitialized() 보호된 메소드

프로퍼티 상세

$allocatedStorage 공개적으로 프로퍼티

Specifies the allocated storage size in gigabytes (GB).
public int $allocatedStorage
리턴 integer

$availabilityZone 공개적으로 프로퍼티

Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot.
public string $availabilityZone
리턴 string

$dBInstanceIdentifier 공개적으로 프로퍼티

Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from
public string $dBInstanceIdentifier
리턴 string

$dBSnapshotIdentifier 공개적으로 프로퍼티

Specifies the identifier for the DB Snapshot.
public string $dBSnapshotIdentifier
리턴 string

$engine 공개적으로 프로퍼티

Specifies the name of the database engine
public string $engine
리턴 string

$engineVersion 공개적으로 프로퍼티

Specifies the version of the database engine
public string $engineVersion
리턴 string

$instanceCreateTime 공개적으로 프로퍼티

Specifies the time (UTC) when the snapshot was taken
public DateTime $instanceCreateTime
리턴 DateTime

$iops 공개적으로 프로퍼티

Specifies the Provisioned IOPS (I/O operations per second) value of the DB Instance at the time of the snapshot
public int $iops
리턴 integer

$licenseModel 공개적으로 프로퍼티

License model information for the restored DB Instance
public string $licenseModel
리턴 string

$masterUsername 공개적으로 프로퍼티

Provides the master username for the DB Instance
public string $masterUsername
리턴 string

$port 공개적으로 프로퍼티

Specifies the port that the database engine was listening on at the time of the snapshot
public int $port
리턴 integer

$snapshotCreateTime 공개적으로 프로퍼티

Provides the time (UTC) when the snapshot was taken.
public DateTime $snapshotCreateTime
리턴 DateTime

$snapshotType 공개적으로 프로퍼티

Provides the type of the DB Snapshot
public string $snapshotType
리턴 string

$status 공개적으로 프로퍼티

Specifies the status of this DB Snapshot
public string $status
리턴 string

$storageType 공개적으로 프로퍼티

Valid values: standard | gp2 | io1 If you specify io1, you must also include a value for the Iops parameter. Default: io1 if the Iops parameter is specified; otherwise standard
public string $storageType
리턴 string

$vpcId 공개적으로 프로퍼티

Provides the Vpc Id associated with the DB Snapshot
public string $vpcId
리턴 string