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

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

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

Свойство Тип Описание
$allocatedStorage integer Specifies the allocated storage size specified in gigabytes.
$autoMinorVersionUpgrade boolean Indicates that minor version patches are applied automatically
$availabilityZone string Specifies the name of the Availability Zone the DB Instance is located in.
$backupRetentionPeriod integer Specifies the number of days for which automatic DB Snapshots are retained
$characterSetName string If present, specifies the name of the character set that this instance is associated with
$dBClusterIdentifier string If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
$dBInstanceClass string Contains the name of the compute and memory capacity class of the DB Instance
$dBInstanceIdentifier string This is the unique key that identifies a DB Instance
$dBInstanceStatus string Specifies the current state of this database
$dBName string MySQL Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. This same name is returned for the life of the DB Instance. Oracle Contains the Oracle System ID (SID) of the created DB Instance
$engine string Provides the name of the database engine to be used for this DB Instance.
$engineVersion string Indicates the database engine version.
$instanceCreateTime DateTime Provides the date and time the DB Instance was created.
$iops integer Specifies the Provisioned IOPS (I/O operations per second) value
$kmsKeyId string If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance.
$latestRestorableTime DateTime Specifies the latest time to which a database can be restored with point-in-time restore
$licenseModel string License model information for this DB Instance
$masterUsername string Contains the master username for the DB Instance
$multiAZ boolean Specifies if the DB Instance is a Multi-AZ deployment.
$preferredBackupWindow string Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod
$preferredMaintenanceWindow string Specifies the weekly time range (in UTC) during which system maintenance can occur
$publiclyAccessible boolean publiclyAccessible
$readReplicaDBInstanceIdentifiers array Contains one or more identifiers of the Read Replicas associated with this DB Instance
$readReplicaSourceDBInstanceIdentifier string Contains the identifier of the source DB Instance if this DB Instance is a Read Replica
$secondaryAvailabilityZone string If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
$storageEncrypted boolean Specifies whether the DB instance is encrypted.
$storageType string Specifies the storage type to be associated with the DB instance.

Защищенные свойства (Protected)

Свойство Тип Описание
$_properties array List of the public properties which is managed by magic getter and setters internally.

Открытые методы

Метод Описание
addTags ( array | Scalr\Service\Aws\Rds\DataType\TagsList $tagsList ) : array Adds metadata tags to an Amazon RDS resource.
createSnapshot ( string $dBSnapshotIdentifier ) : DBSnapshotData CreateDBSnapshot
delete ( boolean $skipFinalSnapshot = null, string $finalDBSnapshotIdentifier = null ) : DBInstanceData DeleteDBInstance action
describeTags ( ) : Scalr\Service\Aws\Rds\DataType\TagsList Lists all tags on an Amazon RDS resource.
getModifyRequest ( ) : Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData Creates and returns new ModifyDbInstanceRequestData object for this DBInstance
getRestoreFromSnapshotRequest ( string $dbSnapshotIdentifier ) : Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData Gets a new RestoreDBInstanceFromDBSnapshotRequestData object for this DB Instance
modify ( Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData $request ) : DBInstanceData ModifyDBInstance action
reboot ( boolean $forceFailover = null ) : DBInstanceData RebootDBInstance action
refresh ( ) : DBInstanceData DescribeDBInstances action
removeTags ( array | ListDataType $tagsKeys ) : boolean Removes metadata tags from an Amazon RDS resource.
restoreFromSnapshot ( Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData | string $request ) : DBInstanceData RestoreDBInstanceFromDBSnapshot action

Защищенные методы

Метод Описание
throwExceptionIfNotInitialized ( )

Описание методов

addTags() публичный Метод

Adds metadata tags to an Amazon RDS resource.
public addTags ( array | Scalr\Service\Aws\Rds\DataType\TagsList $tagsList ) : array
$tagsList array | Scalr\Service\Aws\Rds\DataType\TagsList List of tags to add
Результат array Returns array of added tags

createSnapshot() публичный Метод

Creates a DBSnapshot. The source DBInstance must be in "available" state.
public createSnapshot ( string $dBSnapshotIdentifier ) : DBSnapshotData
$dBSnapshotIdentifier string The identifier for the DB Snapshot.
Результат DBSnapshotData Returns DBSnapshotData on success or throws an exception.

delete() публичный Метод

The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response from the web service indicates the request was received correctly. If a final DBSnapshot is requested the status of the RDS instance will be "deleting" until the DBSnapshot is created. DescribeDBInstance is used to monitor the status of this operation. This cannot be canceled or reverted once submitted
public delete ( boolean $skipFinalSnapshot = null, string $finalDBSnapshotIdentifier = null ) : DBInstanceData
$skipFinalSnapshot boolean optional Determines whether a final DB Snapshot is created before the DB Instance is deleted
$finalDBSnapshotIdentifier string optional The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false
Результат DBInstanceData Returns created DBInstance

describeTags() публичный Метод

Lists all tags on an Amazon RDS resource.
public describeTags ( ) : Scalr\Service\Aws\Rds\DataType\TagsList
Результат Scalr\Service\Aws\Rds\DataType\TagsList

getModifyRequest() публичный Метод

Creates and returns new ModifyDbInstanceRequestData object for this DBInstance
public getModifyRequest ( ) : Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData
Результат Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData Returns new ModifyDbInstanceRequestData object for this DBInstance

getRestoreFromSnapshotRequest() публичный Метод

Gets a new RestoreDBInstanceFromDBSnapshotRequestData object for this DB Instance
public getRestoreFromSnapshotRequest ( string $dbSnapshotIdentifier ) : Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData
$dbSnapshotIdentifier string The DB Snapshot Identifier.
Результат Scalr\Service\Aws\Rds\DataType\RestoreDBInstanceFromDBSnapshotRequestData

modify() публичный Метод

Modify settings for a DB Instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
public modify ( Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData $request ) : DBInstanceData
$request Scalr\Service\Aws\Rds\DataType\ModifyDBInstanceRequestData Modify DB Instance request object
Результат DBInstanceData Returns modified DBInstance

reboot() публичный Метод

Reboots a previously provisioned RDS instance. This API results in the application of modified DBParameterGroup parameters with ApplyStatus of pending-reboot to the RDS instance. This action is taken as soon as possible, and results in a momentary outage to the RDS instance during which the RDS instance status is set to rebooting. If the RDS instance is configured for MultiAZ, it is possible that the reboot will be conducted through a failover. A DBInstance event is created when the reboot is completed.
public reboot ( boolean $forceFailover = null ) : DBInstanceData
$forceFailover boolean optional When true, the reboot will be conducted through a MultiAZ failover. You cannot specify true if the instance is not configured for MultiAZ.
Результат DBInstanceData Returns DBInstance

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 ( ) : DBInstanceData
Результат DBInstanceData Return refreshed object

removeTags() публичный Метод

Removes metadata tags from an Amazon RDS resource.
public removeTags ( array | ListDataType $tagsKeys ) : boolean
$tagsKeys array | Scalr\Service\Aws\DataType\ListDataType Array of tag keys to remove
Результат boolean

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 Snapshot Identifier
Результат DBInstanceData Returns DBInstanceData on success or throws an exception.

throwExceptionIfNotInitialized() защищенный Метод

Описание свойств

$_properties защищенное свойство

List of the public properties which is managed by magic getter and setters internally.
protected array $_properties
Результат array

$allocatedStorage публичное свойство

Specifies the allocated storage size specified in gigabytes.
public int $allocatedStorage
Результат integer

$autoMinorVersionUpgrade публичное свойство

Indicates that minor version patches are applied automatically
public bool $autoMinorVersionUpgrade
Результат boolean

$availabilityZone публичное свойство

Specifies the name of the Availability Zone the DB Instance is located in.
public string $availabilityZone
Результат string

$backupRetentionPeriod публичное свойство

Specifies the number of days for which automatic DB Snapshots are retained
public int $backupRetentionPeriod
Результат integer

$characterSetName публичное свойство

If present, specifies the name of the character set that this instance is associated with
public string $characterSetName
Результат string

$dBClusterIdentifier публичное свойство

If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
public string $dBClusterIdentifier
Результат string

$dBInstanceClass публичное свойство

Contains the name of the compute and memory capacity class of the DB Instance
public string $dBInstanceClass
Результат string

$dBInstanceIdentifier публичное свойство

This is the unique key that identifies a DB Instance
public string $dBInstanceIdentifier
Результат string

$dBInstanceStatus публичное свойство

Specifies the current state of this database
public string $dBInstanceStatus
Результат string

$dBName публичное свойство

MySQL Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB Instance was created. This same name is returned for the life of the DB Instance. Oracle Contains the Oracle System ID (SID) of the created DB Instance
public string $dBName
Результат string

$engine публичное свойство

Provides the name of the database engine to be used for this DB Instance.
public string $engine
Результат string

$engineVersion публичное свойство

Indicates the database engine version.
public string $engineVersion
Результат string

$instanceCreateTime публичное свойство

Provides the date and time the DB Instance was created.
public DateTime $instanceCreateTime
Результат DateTime

$iops публичное свойство

Specifies the Provisioned IOPS (I/O operations per second) value
public int $iops
Результат integer

$kmsKeyId публичное свойство

If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance.
public string $kmsKeyId
Результат string

$latestRestorableTime публичное свойство

Specifies the latest time to which a database can be restored with point-in-time restore
public DateTime $latestRestorableTime
Результат DateTime

$licenseModel публичное свойство

License model information for this DB Instance
public string $licenseModel
Результат string

$masterUsername публичное свойство

Contains the master username for the DB Instance
public string $masterUsername
Результат string

$multiAZ публичное свойство

Specifies if the DB Instance is a Multi-AZ deployment.
public bool $multiAZ
Результат boolean

$preferredBackupWindow публичное свойство

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod
public string $preferredBackupWindow
Результат string

$preferredMaintenanceWindow публичное свойство

Specifies the weekly time range (in UTC) during which system maintenance can occur
public string $preferredMaintenanceWindow
Результат string

$publiclyAccessible публичное свойство

publiclyAccessible
public bool $publiclyAccessible
Результат boolean

$readReplicaDBInstanceIdentifiers публичное свойство

Contains one or more identifiers of the Read Replicas associated with this DB Instance
public array $readReplicaDBInstanceIdentifiers
Результат array

$readReplicaSourceDBInstanceIdentifier публичное свойство

Contains the identifier of the source DB Instance if this DB Instance is a Read Replica
public string $readReplicaSourceDBInstanceIdentifier
Результат string

$secondaryAvailabilityZone публичное свойство

If present, specifies the name of the secondary Availability Zone for a DB instance with multi-AZ support.
public string $secondaryAvailabilityZone
Результат string

$storageEncrypted публичное свойство

Specifies whether the DB instance is encrypted.
public bool $storageEncrypted
Результат boolean

$storageType публичное свойство

Specifies the storage type to be associated with the DB instance.
public string $storageType
Результат string