ChildDatabase¶
- class oci.database_management.models.ChildDatabase(**kwargs)¶
Bases:
objectThe child Managed Database of a Managed Database Group.
Attributes:
A constant which can be used with the database_sub_type property of a ChildDatabase.
A constant which can be used with the database_sub_type property of a ChildDatabase.
A constant which can be used with the database_sub_type property of a ChildDatabase.
A constant which can be used with the database_sub_type property of a ChildDatabase.
A constant which can be used with the database_sub_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the database_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the deployment_type property of a ChildDatabase.
A constant which can be used with the workload_type property of a ChildDatabase.
A constant which can be used with the workload_type property of a ChildDatabase.
A constant which can be used with the workload_type property of a ChildDatabase.
A constant which can be used with the workload_type property of a ChildDatabase.
[Required] Gets the compartment_id of this ChildDatabase.
Gets the database_sub_type of this ChildDatabase.
Gets the database_type of this ChildDatabase.
Gets the defined_tags of this ChildDatabase.
Gets the deployment_type of this ChildDatabase.
Gets the freeform_tags of this ChildDatabase.
[Required] Gets the id of this ChildDatabase.
[Required] Gets the name of this ChildDatabase.
Gets the system_tags of this ChildDatabase.
[Required] Gets the time_added of this ChildDatabase.
Gets the workload_type of this ChildDatabase.
Methods:
__init__(**kwargs)Initializes a new ChildDatabase 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. 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 ChildDatabase. This constant has a value of “SHARED”
- DEPLOYMENT_TYPE_AUTONOMOUS = 'AUTONOMOUS'¶
A constant which can be used with the deployment_type property of a ChildDatabase. This constant has a value of “AUTONOMOUS”
- DEPLOYMENT_TYPE_BM = 'BM'¶
A constant which can be used with the deployment_type property of a ChildDatabase. This constant has a value of “BM”
- DEPLOYMENT_TYPE_EXADATA = 'EXADATA'¶
A constant which can be used with the deployment_type property of a ChildDatabase. 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 ChildDatabase. This constant has a value of “EXADATA_CC”
- DEPLOYMENT_TYPE_EXADATA_XS = 'EXADATA_XS'¶
A constant which can be used with the deployment_type property of a ChildDatabase. This constant has a value of “EXADATA_XS”
- DEPLOYMENT_TYPE_ONPREMISE = 'ONPREMISE'¶
A constant which can be used with the deployment_type property of a ChildDatabase. This constant has a value of “ONPREMISE”
- DEPLOYMENT_TYPE_VM = 'VM'¶
A constant which can be used with the deployment_type property of a ChildDatabase. This constant has a value of “VM”
- WORKLOAD_TYPE_AJD = 'AJD'¶
A constant which can be used with the workload_type property of a ChildDatabase. This constant has a value of “AJD”
- WORKLOAD_TYPE_APEX = 'APEX'¶
A constant which can be used with the workload_type property of a ChildDatabase. This constant has a value of “APEX”
- WORKLOAD_TYPE_DW = 'DW'¶
A constant which can be used with the workload_type property of a ChildDatabase. This constant has a value of “DW”
- WORKLOAD_TYPE_OLTP = 'OLTP'¶
A constant which can be used with the workload_type property of a ChildDatabase. This constant has a value of “OLTP”
- __init__(**kwargs)¶
Initializes a new ChildDatabase 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 ChildDatabase.
name (str) – The value to assign to the name property of this ChildDatabase.
compartment_id (str) – The value to assign to the compartment_id property of this ChildDatabase.
deployment_type (str) – The value to assign to the deployment_type property of this ChildDatabase. Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, “AUTONOMOUS”, “EXADATA_XS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
workload_type (str) – The value to assign to the workload_type property of this ChildDatabase. Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
database_type (str) – The value to assign to the database_type property of this ChildDatabase. 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 ChildDatabase. 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’.
time_added (datetime) – The value to assign to the time_added property of this ChildDatabase.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ChildDatabase.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ChildDatabase.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ChildDatabase.
- property compartment_id¶
[Required] Gets the compartment_id of this ChildDatabase. The OCID of the compartment in which the Managed Database resides.
- Returns
The compartment_id of this ChildDatabase.
- Return type
str
- property database_sub_type¶
Gets the database_sub_type of this ChildDatabase. The subtype of the 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 ChildDatabase.
- Return type
str
- property database_type¶
Gets the database_type of this ChildDatabase. 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 ChildDatabase.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ChildDatabase. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this ChildDatabase.
- Return type
dict(str, dict(str, object))
- property deployment_type¶
Gets the deployment_type of this ChildDatabase. The infrastructure used to deploy the Oracle Database.
Allowed values for this property are: “ONPREMISE”, “BM”, “VM”, “EXADATA”, “EXADATA_CC”, “AUTONOMOUS”, “EXADATA_XS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The deployment_type of this ChildDatabase.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ChildDatabase. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this ChildDatabase.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this ChildDatabase. The OCID of the Managed Database.
- Returns
The id of this ChildDatabase.
- Return type
str
- property name¶
[Required] Gets the name of this ChildDatabase. The name of the Managed Database.
- Returns
The name of this ChildDatabase.
- Return type
str
- property system_tags¶
Gets the system_tags of this ChildDatabase. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this ChildDatabase.
- Return type
dict(str, dict(str, object))
- property time_added¶
[Required] Gets the time_added of this ChildDatabase. The date and time the Managed Database was added to the group.
- Returns
The time_added of this ChildDatabase.
- Return type
datetime
- property workload_type¶
Gets the workload_type of this ChildDatabase. The workload type of the Autonomous Database.
Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The workload_type of this ChildDatabase.
- Return type
str