ManagedDatabaseSummary

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

Bases: object

A summary of the Managed Database.

Attributes

DATABASE_SUB_TYPE_CDB A constant which can be used with the database_sub_type property of a ManagedDatabaseSummary.
DATABASE_SUB_TYPE_NON_CDB A constant which can be used with the database_sub_type property of a ManagedDatabaseSummary.
DATABASE_SUB_TYPE_PDB A constant which can be used with the database_sub_type property of a ManagedDatabaseSummary.
DATABASE_TYPE_CLOUD_RAC A constant which can be used with the database_type property of a ManagedDatabaseSummary.
DATABASE_TYPE_CLOUD_SIDB A constant which can be used with the database_type property of a ManagedDatabaseSummary.
DATABASE_TYPE_EXTERNAL_RAC A constant which can be used with the database_type property of a ManagedDatabaseSummary.
DATABASE_TYPE_EXTERNAL_SIDB A constant which can be used with the database_type property of a ManagedDatabaseSummary.
DEPLOYMENT_TYPE_BM A constant which can be used with the deployment_type property of a ManagedDatabaseSummary.
DEPLOYMENT_TYPE_EXADATA A constant which can be used with the deployment_type property of a ManagedDatabaseSummary.
DEPLOYMENT_TYPE_EXADATA_CC A constant which can be used with the deployment_type property of a ManagedDatabaseSummary.
DEPLOYMENT_TYPE_ONPREMISE A constant which can be used with the deployment_type property of a ManagedDatabaseSummary.
DEPLOYMENT_TYPE_VM A constant which can be used with the deployment_type property of a ManagedDatabaseSummary.
MANAGEMENT_OPTION_ADVANCED A constant which can be used with the management_option property of a ManagedDatabaseSummary.
MANAGEMENT_OPTION_BASIC A constant which can be used with the management_option property of a ManagedDatabaseSummary.
compartment_id [Required] Gets the compartment_id of this ManagedDatabaseSummary.
database_sub_type [Required] Gets the database_sub_type of this ManagedDatabaseSummary.
database_type [Required] Gets the database_type of this ManagedDatabaseSummary.
deployment_type Gets the deployment_type of this ManagedDatabaseSummary.
id [Required] Gets the id of this ManagedDatabaseSummary.
is_cluster [Required] Gets the is_cluster of this ManagedDatabaseSummary.
management_option Gets the management_option of this ManagedDatabaseSummary.
name [Required] Gets the name of this ManagedDatabaseSummary.
parent_container_id Gets the parent_container_id of this ManagedDatabaseSummary.
time_created [Required] Gets the time_created of this ManagedDatabaseSummary.

Methods

__init__(**kwargs) Initializes a new ManagedDatabaseSummary object with values from keyword arguments.
DATABASE_SUB_TYPE_CDB = 'CDB'

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

DATABASE_TYPE_EXTERNAL_RAC = 'EXTERNAL_RAC'

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

DEPLOYMENT_TYPE_BM = 'BM'

A constant which can be used with the deployment_type property of a ManagedDatabaseSummary. This constant has a value of “BM”

DEPLOYMENT_TYPE_EXADATA = 'EXADATA'

A constant which can be used with the deployment_type property of a ManagedDatabaseSummary. This constant has a value of “EXADATA”

DEPLOYMENT_TYPE_EXADATA_CC = 'EXADATA_CC'

A constant which can be used with the deployment_type property of a ManagedDatabaseSummary. This constant has a value of “EXADATA_CC”

DEPLOYMENT_TYPE_ONPREMISE = 'ONPREMISE'

A constant which can be used with the deployment_type property of a ManagedDatabaseSummary. This constant has a value of “ONPREMISE”

DEPLOYMENT_TYPE_VM = 'VM'

A constant which can be used with the deployment_type property of a ManagedDatabaseSummary. This constant has a value of “VM”

MANAGEMENT_OPTION_ADVANCED = 'ADVANCED'

A constant which can be used with the management_option property of a ManagedDatabaseSummary. This constant has a value of “ADVANCED”

MANAGEMENT_OPTION_BASIC = 'BASIC'

A constant which can be used with the management_option property of a ManagedDatabaseSummary. This constant has a value of “BASIC”

__init__(**kwargs)

Initializes a new ManagedDatabaseSummary 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 ManagedDatabaseSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedDatabaseSummary.
  • name (str) – The value to assign to the name property of this ManagedDatabaseSummary.
  • database_type (str) – The value to assign to the database_type property of this ManagedDatabaseSummary. Allowed values for this property are: “EXTERNAL_SIDB”, “EXTERNAL_RAC”, “CLOUD_SIDB”, “CLOUD_RAC”, ‘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 ManagedDatabaseSummary. Allowed values for this property are: “CDB”, “PDB”, “NON_CDB”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • deployment_type (str) – The value to assign to the deployment_type property of this ManagedDatabaseSummary. Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • management_option (str) – The value to assign to the management_option property of this ManagedDatabaseSummary. Allowed values for this property are: “BASIC”, “ADVANCED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_cluster (bool) – The value to assign to the is_cluster property of this ManagedDatabaseSummary.
  • parent_container_id (str) – The value to assign to the parent_container_id property of this ManagedDatabaseSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ManagedDatabaseSummary.
compartment_id

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

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

[Required] Gets the database_sub_type of this ManagedDatabaseSummary. The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.

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

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

[Required] Gets the database_type of this ManagedDatabaseSummary. The type of Oracle Database installation.

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

Returns:The database_type of this ManagedDatabaseSummary.
Return type:str
deployment_type

Gets the deployment_type of this ManagedDatabaseSummary. The infrastructure used to deploy the Oracle Database.

Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The deployment_type of this ManagedDatabaseSummary.
Return type:str
id

[Required] Gets the id of this ManagedDatabaseSummary. The OCID of the Managed Database.

Returns:The id of this ManagedDatabaseSummary.
Return type:str
is_cluster

[Required] Gets the is_cluster of this ManagedDatabaseSummary. Indicates whether the Oracle Database is part of a cluster.

Returns:The is_cluster of this ManagedDatabaseSummary.
Return type:bool
management_option

Gets the management_option of this ManagedDatabaseSummary. The management option used when enabling Database Management.

Allowed values for this property are: “BASIC”, “ADVANCED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The management_option of this ManagedDatabaseSummary.
Return type:str
name

[Required] Gets the name of this ManagedDatabaseSummary. The name of the Managed Database.

Returns:The name of this ManagedDatabaseSummary.
Return type:str
parent_container_id

Gets the parent_container_id of this ManagedDatabaseSummary. The OCID of the parent Container Database if the Managed Database is a Pluggable Database.

Returns:The parent_container_id of this ManagedDatabaseSummary.
Return type:str
time_created

[Required] Gets the time_created of this ManagedDatabaseSummary. The date and time the Managed Database was created.

Returns:The time_created of this ManagedDatabaseSummary.
Return type:datetime