CreateDbHomeWithVmClusterIdDetails

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

Bases: oci.database.models.create_db_home_base.CreateDbHomeBase

Note that a valid vmClusterId value must be supplied for the CreateDbHomeWithVmClusterId API operation to successfully complete.

Attributes

SOURCE_DB_BACKUP str(object=’‘) -> str
SOURCE_NONE str(object=’‘) -> str
SOURCE_VM_CLUSTER_NEW str(object=’‘) -> str
database [Required] Gets the database of this CreateDbHomeWithVmClusterIdDetails.
db_version [Required] Gets the db_version of this CreateDbHomeWithVmClusterIdDetails.
display_name Gets the display_name of this CreateDbHomeBase.
source Gets the source of this CreateDbHomeBase.
vm_cluster_id [Required] Gets the vm_cluster_id of this CreateDbHomeWithVmClusterIdDetails.

Methods

__init__(**kwargs) Initializes a new CreateDbHomeWithVmClusterIdDetails object with values from keyword arguments.
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_DB_BACKUP = 'DB_BACKUP'
SOURCE_NONE = 'NONE'
SOURCE_VM_CLUSTER_NEW = 'VM_CLUSTER_NEW'
__init__(**kwargs)

Initializes a new CreateDbHomeWithVmClusterIdDetails object with values from keyword arguments. The default value of the source attribute of this class is VM_CLUSTER_NEW and it should not be changed. 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 CreateDbHomeWithVmClusterIdDetails.
  • source (str) – The value to assign to the source property of this CreateDbHomeWithVmClusterIdDetails. Allowed values for this property are: “NONE”, “DB_BACKUP”, “VM_CLUSTER_NEW”
  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this CreateDbHomeWithVmClusterIdDetails.
  • db_version (str) – The value to assign to the db_version property of this CreateDbHomeWithVmClusterIdDetails.
  • database (CreateDatabaseDetails) – The value to assign to the database property of this CreateDbHomeWithVmClusterIdDetails.
database

[Required] Gets the database of this CreateDbHomeWithVmClusterIdDetails.

Returns:The database of this CreateDbHomeWithVmClusterIdDetails.
Return type:CreateDatabaseDetails
db_version

[Required] Gets the db_version of this CreateDbHomeWithVmClusterIdDetails. A valid Oracle Database version. To get a list of supported versions, use the list_db_versions() operation.

Returns:The db_version of this CreateDbHomeWithVmClusterIdDetails.
Return type:str
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
vm_cluster_id

[Required] Gets the vm_cluster_id of this CreateDbHomeWithVmClusterIdDetails. The OCID of the VM cluster.

Returns:The vm_cluster_id of this CreateDbHomeWithVmClusterIdDetails.
Return type:str