Resource: Database
Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/
JSON representation |
---|
{ "name": string, "dbName": string, "dbUniqueName": string, "adminPassword": string, "tdeWalletPassword": string, "characterSet": string, "ncharacterSet": string, "ociUrl": string, "createTime": string, "properties": { object ( |
Fields | |
---|---|
name |
Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} |
dbName |
Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. |
dbUniqueName |
Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up. |
adminPassword |
Required. The password for the default ADMIN user. |
tdeWalletPassword |
Optional. The TDE wallet password for the database. |
characterSet |
Optional. The character set for the database. The default is AL32UTF8. |
ncharacterSet |
Optional. The national character set for the database. The default is AL16UTF16. |
ociUrl |
Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. |
createTime |
Output only. The date and time that the Database was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
properties |
Optional. The properties of the Database. |
databaseId |
Optional. The database ID of the Database. |
dbHomeName |
Optional. The name of the DbHome resource associated with the Database. |
gcpOracleZone |
Output only. The GCP Oracle zone where the Database is created. |
opsInsightsStatus |
Output only. The Status of Operations Insights for this Database. |
DatabaseProperties
The properties of a Database.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
Output only. State of the Database. |
dbVersion |
Required. The Oracle Database version. |
dbBackupConfig |
Optional. Backup options for the Database. |
databaseManagementConfig |
Output only. The Database Management config. |
DatabaseLifecycleState
The various lifecycle states of the Database.
Enums | |
---|---|
DATABASE_LIFECYCLE_STATE_UNSPECIFIED |
Default unspecified value. |
PROVISIONING |
Indicates that the resource is in provisioning state. |
AVAILABLE |
Indicates that the resource is in available state. |
UPDATING |
Indicates that the resource is in updating state. |
BACKUP_IN_PROGRESS |
Indicates that the resource is in backup in progress state. |
UPGRADING |
Indicates that the resource is in upgrading state. |
CONVERTING |
Indicates that the resource is in converting state. |
TERMINATING |
Indicates that the resource is in terminating state. |
TERMINATED |
Indicates that the resource is in terminated state. |
RESTORE_FAILED |
Indicates that the resource is in restore failed state. |
FAILED |
Indicates that the resource is in failed state. |
DbBackupConfig
Backup Options for the Database.
JSON representation |
---|
{ "autoBackupEnabled": boolean, "backupDestinationDetails": [ { object ( |
Fields | |
---|---|
autoBackupEnabled |
Optional. If set to true, enables automatic backups on the database. |
backupDestinationDetails[] |
Optional. Details of the database backup destinations. |
retentionPeriodDays |
Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60. |
backupDeletionPolicy |
Optional. This defines when the backups will be deleted after Database termination. |
autoFullBackupDay |
Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday. |
autoFullBackupWindow |
Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime. |
autoIncrementalBackupWindow |
Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day. |
BackupDestinationDetails
The details of the database backup destination.
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
Optional. The type of the database backup destination. |
BackupDestinationType
The type of the database backup destination.
Enums | |
---|---|
BACKUP_DESTINATION_TYPE_UNSPECIFIED |
Default unspecified value. |
NFS |
Backup destination type is NFS. |
RECOVERY_APPLIANCE |
Backup destination type is Recovery Appliance. |
OBJECT_STORE |
Backup destination type is Object Store. |
LOCAL |
Backup destination type is Local. |
DBRS |
Backup destination type is DBRS. |
BackupDeletionPolicy
This defines when the backups will be deleted after Database termination.
Enums | |
---|---|
BACKUP_DELETION_POLICY_UNSPECIFIED |
Default unspecified value. |
DELETE_IMMEDIATELY |
Keeps the backup for predefined time i.e. 72 hours and then delete permanently. |
DELETE_AFTER_RETENTION_PERIOD |
Keeps the backups as per the policy defined for database backups. |
BackupWindow
The 2 hour window in which the backup should be performed on the database.
Enums | |
---|---|
BACKUP_WINDOW_UNSPECIFIED |
Default unspecified value. |
SLOT_ONE |
12:00 AM - 2:00 AM |
SLOT_TWO |
2:00 AM - 4:00 AM |
SLOT_THREE |
4:00 AM - 6:00 AM |
SLOT_FOUR |
6:00 AM - 8:00 AM |
SLOT_FIVE |
8:00 AM - 10:00 AM |
SLOT_SIX |
10:00 AM - 12:00 PM |
SLOT_SEVEN |
12:00 PM - 2:00 PM |
SLOT_EIGHT |
2:00 PM - 4:00 PM |
SLOT_NINE |
4:00 PM - 6:00 PM |
SLOT_TEN |
6:00 PM - 8:00 PM |
SLOT_ELEVEN |
8:00 PM - 10:00 PM |
SLOT_TWELVE |
10:00 PM - 12:00 AM |
OperationsInsightsStatus
The Status of Operations Insights for this Database.
Enums | |
---|---|
OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED |
Default unspecified value. |
ENABLING |
Indicates that the operations insights are being enabled. |
ENABLED |
Indicates that the operations insights are enabled. |
DISABLING |
Indicates that the operations insights are being disabled. |
NOT_ENABLED |
Indicates that the operations insights are not enabled. |
FAILED_ENABLING |
Indicates that the operations insights failed to enable. |
FAILED_DISABLING |
Indicates that the operations insights failed to disable. |
Methods |
|
---|---|
|
Gets details of a single Database. |
|
Lists all the Databases for the given project, location and DbSystem. |