DbHomeSummary

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

Bases: object

A directory where Oracle Database software is installed. A bare metal DB system can have multiple database homes and each database home can run a different supported version of Oracle Database. A virtual machine DB system can have only one database home. For more information, see Bare Metal and Virtual Machine DB Systems.

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies.

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

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "AVAILABLE"

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "FAILED"

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "PROVISIONING"

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "TERMINATED"

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "TERMINATING"

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DbHomeSummary. This constant has a value of "UPDATING"

__init__(**kwargs)

Initializes a new DbHomeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) -- The value to assign to the id property of this DbHomeSummary.
  • compartment_id (str) -- The value to assign to the compartment_id property of this DbHomeSummary.
  • display_name (str) -- The value to assign to the display_name property of this DbHomeSummary.
  • last_patch_history_entry_id (str) -- The value to assign to the last_patch_history_entry_id property of this DbHomeSummary.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this DbHomeSummary. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • db_system_id (str) -- The value to assign to the db_system_id property of this DbHomeSummary.
  • vm_cluster_id (str) -- The value to assign to the vm_cluster_id property of this DbHomeSummary.
  • db_version (str) -- The value to assign to the db_version property of this DbHomeSummary.
  • time_created (datetime) -- The value to assign to the time_created property of this DbHomeSummary.
compartment_id

[Required] Gets the compartment_id of this DbHomeSummary. The OCID of the compartment.

Returns:The compartment_id of this DbHomeSummary.
Return type:str
db_system_id

Gets the db_system_id of this DbHomeSummary. The OCID of the DB system.

Returns:The db_system_id of this DbHomeSummary.
Return type:str
db_version

[Required] Gets the db_version of this DbHomeSummary. The Oracle Database version.

Returns:The db_version of this DbHomeSummary.
Return type:str
display_name

[Required] Gets the display_name of this DbHomeSummary. The user-provided name for the database home. The name does not need to be unique.

Returns:The display_name of this DbHomeSummary.
Return type:str
id

[Required] Gets the id of this DbHomeSummary. The OCID of the database home.

Returns:The id of this DbHomeSummary.
Return type:str
last_patch_history_entry_id

Gets the last_patch_history_entry_id of this DbHomeSummary. The OCID of the last patch history. This value is updated as soon as a patch operation is started.

Returns:The last_patch_history_entry_id of this DbHomeSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this DbHomeSummary. The current state of the database home.

Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this DbHomeSummary.
Return type:str
time_created

Gets the time_created of this DbHomeSummary. The date and time the database home was created.

Returns:The time_created of this DbHomeSummary.
Return type:datetime
vm_cluster_id

Gets the vm_cluster_id of this DbHomeSummary. The OCID of the VM cluster.

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