ExternalListenerServicedDatabase

class oci.database_management.models.ExternalListenerServicedDatabase(**kwargs)

Bases: object

The details of a database serviced by an external listener.

Attributes

DATABASE_SUB_TYPE_ACD A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase.
DATABASE_SUB_TYPE_ADB A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase.
DATABASE_SUB_TYPE_CDB A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase.
DATABASE_SUB_TYPE_NON_CDB A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase.
DATABASE_SUB_TYPE_PDB A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_CLOUD_RAC A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_CLOUD_SIDB A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_DEDICATED A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_EXTERNAL_RAC A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_EXTERNAL_SIDB A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
DATABASE_TYPE_SHARED A constant which can be used with the database_type property of a ExternalListenerServicedDatabase.
compartment_id Gets the compartment_id of this ExternalListenerServicedDatabase.
database_sub_type Gets the database_sub_type of this ExternalListenerServicedDatabase.
database_type Gets the database_type of this ExternalListenerServicedDatabase.
db_unique_name Gets the db_unique_name of this ExternalListenerServicedDatabase.
display_name [Required] Gets the display_name of this ExternalListenerServicedDatabase.
id [Required] Gets the id of this ExternalListenerServicedDatabase.
is_managed Gets the is_managed of this ExternalListenerServicedDatabase.

Methods

__init__(**kwargs) Initializes a new ExternalListenerServicedDatabase object with values from keyword arguments.
DATABASE_SUB_TYPE_ACD = 'ACD'

A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase. This constant has a value of “ACD”

DATABASE_SUB_TYPE_ADB = 'ADB'

A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase. This constant has a value of “ADB”

DATABASE_SUB_TYPE_CDB = 'CDB'

A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase. This constant has a value of “CDB”

DATABASE_SUB_TYPE_NON_CDB = 'NON_CDB'

A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase. This constant has a value of “NON_CDB”

DATABASE_SUB_TYPE_PDB = 'PDB'

A constant which can be used with the database_sub_type property of a ExternalListenerServicedDatabase. This constant has a value of “PDB”

DATABASE_TYPE_CLOUD_RAC = 'CLOUD_RAC'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “CLOUD_RAC”

DATABASE_TYPE_CLOUD_SIDB = 'CLOUD_SIDB'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “CLOUD_SIDB”

DATABASE_TYPE_DEDICATED = 'DEDICATED'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “DEDICATED”

DATABASE_TYPE_EXTERNAL_RAC = 'EXTERNAL_RAC'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “EXTERNAL_RAC”

DATABASE_TYPE_EXTERNAL_SIDB = 'EXTERNAL_SIDB'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “EXTERNAL_SIDB”

DATABASE_TYPE_SHARED = 'SHARED'

A constant which can be used with the database_type property of a ExternalListenerServicedDatabase. This constant has a value of “SHARED”

__init__(**kwargs)

Initializes a new ExternalListenerServicedDatabase 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 ExternalListenerServicedDatabase.
  • display_name (str) – The value to assign to the display_name property of this ExternalListenerServicedDatabase.
  • db_unique_name (str) – The value to assign to the db_unique_name property of this ExternalListenerServicedDatabase.
  • compartment_id (str) – The value to assign to the compartment_id property of this ExternalListenerServicedDatabase.
  • database_type (str) – The value to assign to the database_type property of this ExternalListenerServicedDatabase. Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, “SHARED”, “DEDICATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • database_sub_type (str) – The value to assign to the database_sub_type property of this ExternalListenerServicedDatabase. Allowed values for this property are: “CDB”, “PDB”, “NON_CDB”, “ACD”, “ADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_managed (bool) – The value to assign to the is_managed property of this ExternalListenerServicedDatabase.
compartment_id

Gets the compartment_id of this ExternalListenerServicedDatabase. The OCID of the compartment in which the external database resides.

Returns:The compartment_id of this ExternalListenerServicedDatabase.
Return type:str
database_sub_type

Gets the database_sub_type of this ExternalListenerServicedDatabase. The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.

Allowed values for this property are: “CDB”, “PDB”, “NON_CDB”, “ACD”, “ADB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The database_sub_type of this ExternalListenerServicedDatabase.
Return type:str
database_type

Gets the database_type of this ExternalListenerServicedDatabase. The type of Oracle Database installation.

Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, “SHARED”, “DEDICATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The database_type of this ExternalListenerServicedDatabase.
Return type:str
db_unique_name

Gets the db_unique_name of this ExternalListenerServicedDatabase. The unique name of the external database.

Returns:The db_unique_name of this ExternalListenerServicedDatabase.
Return type:str
display_name

[Required] Gets the display_name of this ExternalListenerServicedDatabase. The user-friendly name for the database. The name does not have to be unique.

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

[Required] Gets the id of this ExternalListenerServicedDatabase. The OCID of the external database.

Returns:The id of this ExternalListenerServicedDatabase.
Return type:str
is_managed

Gets the is_managed of this ExternalListenerServicedDatabase. Indicates whether the database is a Managed Database or not.

Returns:The is_managed of this ExternalListenerServicedDatabase.
Return type:bool