PHP Класс Scalr\Service\Aws\Rds\DataType\DBSnapshotData

С версии: 27.03.2013
Автор: Vitaliy Demidov ([email protected])
Наследование: extends Scalr\Service\Aws\Rds\AbstractRdsDataType
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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