CloudServicedDatabase¶
-
class
oci.database_management.models.
CloudServicedDatabase
(**kwargs)¶ Bases:
object
The details of a database serviced by a cloud 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 CloudServicedDatabase. DATABASE_SUB_TYPE_ADB
A constant which can be used with the database_sub_type property of a CloudServicedDatabase. DATABASE_SUB_TYPE_CDB
A constant which can be used with the database_sub_type property of a CloudServicedDatabase. DATABASE_SUB_TYPE_NON_CDB
A constant which can be used with the database_sub_type property of a CloudServicedDatabase. DATABASE_SUB_TYPE_PDB
A constant which can be used with the database_sub_type property of a CloudServicedDatabase. DATABASE_TYPE_CLOUD_AT_CUSTOMER
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_CLOUD_RAC
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_CLOUD_SIDB
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_DEDICATED
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_EXTERNAL_RAC
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_EXTERNAL_SIDB
A constant which can be used with the database_type property of a CloudServicedDatabase. DATABASE_TYPE_SHARED
A constant which can be used with the database_type property of a CloudServicedDatabase. compartment_id
Gets the compartment_id of this CloudServicedDatabase. database_sub_type
Gets the database_sub_type of this CloudServicedDatabase. database_type
Gets the database_type of this CloudServicedDatabase. db_unique_name
Gets the db_unique_name of this CloudServicedDatabase. dbaas_id
[Required] Gets the dbaas_id of this CloudServicedDatabase. display_name
[Required] Gets the display_name of this CloudServicedDatabase. id
[Required] Gets the id of this CloudServicedDatabase. is_managed
Gets the is_managed of this CloudServicedDatabase. Methods
__init__
(**kwargs)Initializes a new CloudServicedDatabase 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase. This constant has a value of “SHARED”
-
__init__
(**kwargs)¶ Initializes a new CloudServicedDatabase 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 CloudServicedDatabase.
- dbaas_id (str) – The value to assign to the dbaas_id property of this CloudServicedDatabase.
- display_name (str) – The value to assign to the display_name property of this CloudServicedDatabase.
- db_unique_name (str) – The value to assign to the db_unique_name property of this CloudServicedDatabase.
- compartment_id (str) – The value to assign to the compartment_id property of this CloudServicedDatabase.
- database_type (str) – The value to assign to the database_type property of this CloudServicedDatabase. 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 CloudServicedDatabase. 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 CloudServicedDatabase.
-
compartment_id
¶ Gets the compartment_id of this CloudServicedDatabase. The OCID of the compartment in which the cloud database resides.
Returns: The compartment_id of this CloudServicedDatabase. Return type: str
-
database_sub_type
¶ Gets the database_sub_type of this CloudServicedDatabase. 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 CloudServicedDatabase. Return type: str
-
database_type
¶ Gets the database_type of this CloudServicedDatabase. 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 CloudServicedDatabase. Return type: str
-
db_unique_name
¶ Gets the db_unique_name of this CloudServicedDatabase. The unique name of the cloud database.
Returns: The db_unique_name of this CloudServicedDatabase. Return type: str
-
dbaas_id
¶ [Required] Gets the dbaas_id of this CloudServicedDatabase. The OCID of the existing Dbaas OCI resource matching the discovered DB system component.
Returns: The dbaas_id of this CloudServicedDatabase. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CloudServicedDatabase. The user-friendly name for the database. The name does not have to be unique.
Returns: The display_name of this CloudServicedDatabase. Return type: str
-
id
¶ [Required] Gets the id of this CloudServicedDatabase. The OCID of the cloud database.
Returns: The id of this CloudServicedDatabase. Return type: str
-
is_managed
¶ Gets the is_managed of this CloudServicedDatabase. Indicates whether the database is a Managed Database or not.
Returns: The is_managed of this CloudServicedDatabase. Return type: bool
-