OptimizerDatabase¶
- class oci.database_management.models.OptimizerDatabase(**kwargs)¶
Bases:
objectThe subset information of the Managed Database resource, which is used by Optimizer Statistics.
Attributes:
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_deployment_type property of a OptimizerDatabase.
A constant which can be used with the db_sub_type property of a OptimizerDatabase.
A constant which can be used with the db_sub_type property of a OptimizerDatabase.
A constant which can be used with the db_sub_type property of a OptimizerDatabase.
A constant which can be used with the db_sub_type property of a OptimizerDatabase.
A constant which can be used with the db_sub_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
A constant which can be used with the db_type property of a OptimizerDatabase.
[Required] Gets the compartment_id of this OptimizerDatabase.
[Required] Gets the db_deployment_type of this OptimizerDatabase.
[Required] Gets the db_sub_type of this OptimizerDatabase.
[Required] Gets the db_type of this OptimizerDatabase.
[Required] Gets the db_version of this OptimizerDatabase.
[Required] Gets the id of this OptimizerDatabase.
[Required] Gets the name of this OptimizerDatabase.
Methods:
__init__(**kwargs)Initializes a new OptimizerDatabase object with values from keyword arguments.
- DB_DEPLOYMENT_TYPE_AUTONOMOUS = 'AUTONOMOUS'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “AUTONOMOUS”
- DB_DEPLOYMENT_TYPE_BM = 'BM'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “BM”
- DB_DEPLOYMENT_TYPE_EXADATA = 'EXADATA'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “EXADATA”
- DB_DEPLOYMENT_TYPE_EXADATA_CC = 'EXADATA_CC'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “EXADATA_CC”
- DB_DEPLOYMENT_TYPE_EXADATA_XS = 'EXADATA_XS'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “EXADATA_XS”
- DB_DEPLOYMENT_TYPE_ONPREMISE = 'ONPREMISE'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “ONPREMISE”
- DB_DEPLOYMENT_TYPE_VM = 'VM'¶
A constant which can be used with the db_deployment_type property of a OptimizerDatabase. This constant has a value of “VM”
- DB_SUB_TYPE_ACD = 'ACD'¶
A constant which can be used with the db_sub_type property of a OptimizerDatabase. This constant has a value of “ACD”
- DB_SUB_TYPE_ADB = 'ADB'¶
A constant which can be used with the db_sub_type property of a OptimizerDatabase. This constant has a value of “ADB”
- DB_SUB_TYPE_CDB = 'CDB'¶
A constant which can be used with the db_sub_type property of a OptimizerDatabase. This constant has a value of “CDB”
- DB_SUB_TYPE_NON_CDB = 'NON_CDB'¶
A constant which can be used with the db_sub_type property of a OptimizerDatabase. This constant has a value of “NON_CDB”
- DB_SUB_TYPE_PDB = 'PDB'¶
A constant which can be used with the db_sub_type property of a OptimizerDatabase. This constant has a value of “PDB”
- DB_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “CLOUD_AT_CUSTOMER”
- DB_TYPE_CLOUD_RAC = 'CLOUD_RAC'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “CLOUD_RAC”
- DB_TYPE_CLOUD_SIDB = 'CLOUD_SIDB'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “CLOUD_SIDB”
- DB_TYPE_DEDICATED = 'DEDICATED'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “DEDICATED”
- DB_TYPE_EXTERNAL_RAC = 'EXTERNAL_RAC'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “EXTERNAL_RAC”
- DB_TYPE_EXTERNAL_SIDB = 'EXTERNAL_SIDB'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “EXTERNAL_SIDB”
- DB_TYPE_SHARED = 'SHARED'¶
A constant which can be used with the db_type property of a OptimizerDatabase. This constant has a value of “SHARED”
- __init__(**kwargs)¶
Initializes a new OptimizerDatabase 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 OptimizerDatabase.
name (str) – The value to assign to the name property of this OptimizerDatabase.
db_type (str) – The value to assign to the db_type property of this OptimizerDatabase. 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’.
db_sub_type (str) – The value to assign to the db_sub_type property of this OptimizerDatabase. 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’.
db_deployment_type (str) – The value to assign to the db_deployment_type property of this OptimizerDatabase. 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’.
db_version (str) – The value to assign to the db_version property of this OptimizerDatabase.
compartment_id (str) – The value to assign to the compartment_id property of this OptimizerDatabase.
- property compartment_id¶
[Required] Gets the compartment_id of this OptimizerDatabase. The OCID of the compartment in which the Managed Database resides.
- Returns
The compartment_id of this OptimizerDatabase.
- Return type
str
- property db_deployment_type¶
[Required] Gets the db_deployment_type of this OptimizerDatabase. 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 db_deployment_type of this OptimizerDatabase.
- Return type
str
- property db_sub_type¶
[Required] Gets the db_sub_type of this OptimizerDatabase. 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 db_sub_type of this OptimizerDatabase.
- Return type
str
- property db_type¶
[Required] Gets the db_type of this OptimizerDatabase. 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 db_type of this OptimizerDatabase.
- Return type
str
- property db_version¶
[Required] Gets the db_version of this OptimizerDatabase. The version of the Oracle Database.
- Returns
The db_version of this OptimizerDatabase.
- Return type
str
- property id¶
[Required] Gets the id of this OptimizerDatabase. The OCID of the Managed Database.
- Returns
The id of this OptimizerDatabase.
- Return type
str
- property name¶
[Required] Gets the name of this OptimizerDatabase. The name of the Managed Database.
- Returns
The name of this OptimizerDatabase.
- Return type
str