ExternalServicedDatabase

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

Bases: object

The details of a database serviced by an external DB system component such as a listener or ASM.

Attributes

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

Methods

__init__(**kwargs) Initializes a new ExternalServicedDatabase 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase. This constant has a value of “SHARED”

__init__(**kwargs)

Initializes a new ExternalServicedDatabase 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 ExternalServicedDatabase.
  • display_name (str) – The value to assign to the display_name property of this ExternalServicedDatabase.
  • db_unique_name (str) – The value to assign to the db_unique_name property of this ExternalServicedDatabase.
  • compartment_id (str) – The value to assign to the compartment_id property of this ExternalServicedDatabase.
  • database_type (str) – The value to assign to the database_type property of this ExternalServicedDatabase. 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 ExternalServicedDatabase. 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 ExternalServicedDatabase.
compartment_id

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

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

Gets the database_sub_type of this ExternalServicedDatabase. 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 ExternalServicedDatabase.
Return type:str
database_type

Gets the database_type of this ExternalServicedDatabase. 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 ExternalServicedDatabase.
Return type:str
db_unique_name

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

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

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

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

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

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

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

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