CloudAsmServicedDatabase

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

Bases: object

The details of a database serviced by a cloud ASM.

Attributes:

DATABASE_SUB_TYPE_ACD

A constant which can be used with the database_sub_type property of a CloudAsmServicedDatabase.

DATABASE_SUB_TYPE_ADB

A constant which can be used with the database_sub_type property of a CloudAsmServicedDatabase.

DATABASE_SUB_TYPE_CDB

A constant which can be used with the database_sub_type property of a CloudAsmServicedDatabase.

DATABASE_SUB_TYPE_NON_CDB

A constant which can be used with the database_sub_type property of a CloudAsmServicedDatabase.

DATABASE_SUB_TYPE_PDB

A constant which can be used with the database_sub_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_CLOUD_AT_CUSTOMER

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_CLOUD_RAC

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_CLOUD_SIDB

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_DEDICATED

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_EXTERNAL_RAC

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_EXTERNAL_SIDB

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

DATABASE_TYPE_SHARED

A constant which can be used with the database_type property of a CloudAsmServicedDatabase.

compartment_id

Gets the compartment_id of this CloudAsmServicedDatabase.

database_sub_type

Gets the database_sub_type of this CloudAsmServicedDatabase.

database_type

Gets the database_type of this CloudAsmServicedDatabase.

db_unique_name

Gets the db_unique_name of this CloudAsmServicedDatabase.

dbaas_id

[Required] Gets the dbaas_id of this CloudAsmServicedDatabase.

disk_groups

Gets the disk_groups of this CloudAsmServicedDatabase.

display_name

[Required] Gets the display_name of this CloudAsmServicedDatabase.

id

[Required] Gets the id of this CloudAsmServicedDatabase.

is_managed

Gets the is_managed of this CloudAsmServicedDatabase.

Methods:

__init__(**kwargs)

Initializes a new CloudAsmServicedDatabase 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. This constant has a value of “PDB”

DATABASE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'

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

DATABASE_TYPE_CLOUD_RAC = 'CLOUD_RAC'

A constant which can be used with the database_type property of a CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase. This constant has a value of “SHARED”

__init__(**kwargs)

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

Parameters
  • disk_groups (list[str]) – The value to assign to the disk_groups property of this CloudAsmServicedDatabase.

  • id (str) – The value to assign to the id property of this CloudAsmServicedDatabase.

  • dbaas_id (str) – The value to assign to the dbaas_id property of this CloudAsmServicedDatabase.

  • display_name (str) – The value to assign to the display_name property of this CloudAsmServicedDatabase.

  • db_unique_name (str) – The value to assign to the db_unique_name property of this CloudAsmServicedDatabase.

  • compartment_id (str) – The value to assign to the compartment_id property of this CloudAsmServicedDatabase.

  • database_type (str) – The value to assign to the database_type property of this CloudAsmServicedDatabase. Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, “SHARED”, “DEDICATED”, “CLOUD_AT_CUSTOMER”, ‘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 CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase.

property compartment_id

Gets the compartment_id of this CloudAsmServicedDatabase. The OCID of the compartment in which the cloud database resides.

Returns

The compartment_id of this CloudAsmServicedDatabase.

Return type

str

property database_sub_type

Gets the database_sub_type of this CloudAsmServicedDatabase. 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 CloudAsmServicedDatabase.

Return type

str

property database_type

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

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

Returns

The database_type of this CloudAsmServicedDatabase.

Return type

str

property db_unique_name

Gets the db_unique_name of this CloudAsmServicedDatabase. The unique name of the cloud database.

Returns

The db_unique_name of this CloudAsmServicedDatabase.

Return type

str

property dbaas_id

[Required] Gets the dbaas_id of this CloudAsmServicedDatabase. The OCID of the existing DBaas OCI resource matching the discovered DB system component.

Returns

The dbaas_id of this CloudAsmServicedDatabase.

Return type

str

property disk_groups

Gets the disk_groups of this CloudAsmServicedDatabase. The list of ASM disk groups used by the database.

Returns

The disk_groups of this CloudAsmServicedDatabase.

Return type

list[str]

property display_name

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

Returns

The display_name of this CloudAsmServicedDatabase.

Return type

str

property id

[Required] Gets the id of this CloudAsmServicedDatabase. The OCID of the cloud database.

Returns

The id of this CloudAsmServicedDatabase.

Return type

str

property is_managed

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

Returns

The is_managed of this CloudAsmServicedDatabase.

Return type

bool