DatabaseDetails

class oci.opsi.models.DatabaseDetails(**kwargs)

Bases: object

Partial information about the database which includes id, name, type.

Methods

__init__(**kwargs) Initializes a new DatabaseDetails object with values from keyword arguments.

Attributes

cdb_name Gets the cdb_name of this DatabaseDetails.
compartment_id [Required] Gets the compartment_id of this DatabaseDetails.
database_display_name Gets the database_display_name of this DatabaseDetails.
database_id [Required] Gets the database_id of this DatabaseDetails.
database_name [Required] Gets the database_name of this DatabaseDetails.
database_type [Required] Gets the database_type of this DatabaseDetails.
database_version Gets the database_version of this DatabaseDetails.
id [Required] Gets the id of this DatabaseDetails.
instances Gets the instances of this DatabaseDetails.
__init__(**kwargs)

Initializes a new DatabaseDetails 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 DatabaseDetails.
  • database_id (str) – The value to assign to the database_id property of this DatabaseDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this DatabaseDetails.
  • database_name (str) – The value to assign to the database_name property of this DatabaseDetails.
  • database_display_name (str) – The value to assign to the database_display_name property of this DatabaseDetails.
  • database_type (str) – The value to assign to the database_type property of this DatabaseDetails.
  • database_version (str) – The value to assign to the database_version property of this DatabaseDetails.
  • instances (list[oci.opsi.models.HostInstanceMap]) – The value to assign to the instances property of this DatabaseDetails.
  • cdb_name (str) – The value to assign to the cdb_name property of this DatabaseDetails.
cdb_name

Gets the cdb_name of this DatabaseDetails. Name of the CDB.Only applies to PDB.

Returns:The cdb_name of this DatabaseDetails.
Return type:str
compartment_id

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

Returns:The compartment_id of this DatabaseDetails.
Return type:str
database_display_name

Gets the database_display_name of this DatabaseDetails. The user-friendly name for the database. The name does not have to be unique.

Returns:The database_display_name of this DatabaseDetails.
Return type:str
database_id

[Required] Gets the database_id of this DatabaseDetails. The OCID of the database.

Returns:The database_id of this DatabaseDetails.
Return type:str
database_name

[Required] Gets the database_name of this DatabaseDetails. The database name. The database name is unique within the tenancy.

Returns:The database_name of this DatabaseDetails.
Return type:str
database_type

[Required] Gets the database_type of this DatabaseDetails. Ops Insights internal representation of the database type.

Returns:The database_type of this DatabaseDetails.
Return type:str
database_version

Gets the database_version of this DatabaseDetails. The version of the database.

Returns:The database_version of this DatabaseDetails.
Return type:str
id

[Required] Gets the id of this DatabaseDetails. The OCID of the database insight resource.

Returns:The id of this DatabaseDetails.
Return type:str
instances

Gets the instances of this DatabaseDetails. Array of hostname and instance name.

Returns:The instances of this DatabaseDetails.
Return type:list[oci.opsi.models.HostInstanceMap]