CreateDbHomeBase

class oci.database.models.CreateDbHomeBase(**kwargs)

Bases: object

Details for creating a database home.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

SOURCE_DB_BACKUP = 'DB_BACKUP'

A constant which can be used with the source property of a CreateDbHomeBase. This constant has a value of "DB_BACKUP"

SOURCE_NONE = 'NONE'

A constant which can be used with the source property of a CreateDbHomeBase. This constant has a value of "NONE"

SOURCE_VM_CLUSTER_NEW = 'VM_CLUSTER_NEW'

A constant which can be used with the source property of a CreateDbHomeBase. This constant has a value of "VM_CLUSTER_NEW"

__init__(**kwargs)

Initializes a new CreateDbHomeBase object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) -- The value to assign to the display_name property of this CreateDbHomeBase.
  • source (str) -- The value to assign to the source property of this CreateDbHomeBase. Allowed values for this property are: "NONE", "DB_BACKUP", "VM_CLUSTER_NEW"
display_name

Gets the display_name of this CreateDbHomeBase. The user-provided name of the database home.

Returns:The display_name of this CreateDbHomeBase.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

source

Gets the source of this CreateDbHomeBase. The source of database: NONE for creating a new database. DB_BACKUP for creating a new database by restoring from a database backup.

Allowed values for this property are: "NONE", "DB_BACKUP", "VM_CLUSTER_NEW"

Returns:The source of this CreateDbHomeBase.
Return type:str