JobDatabase¶
-
class
oci.database_management.models.JobDatabase(**kwargs)¶ Bases:
objectThe Managed Database on which the job is executed.
Attributes
DATABASE_SUB_TYPE_ACDA constant which can be used with the database_sub_type property of a JobDatabase. DATABASE_SUB_TYPE_ADBA constant which can be used with the database_sub_type property of a JobDatabase. DATABASE_SUB_TYPE_CDBA constant which can be used with the database_sub_type property of a JobDatabase. DATABASE_SUB_TYPE_NON_CDBA constant which can be used with the database_sub_type property of a JobDatabase. DATABASE_SUB_TYPE_PDBA constant which can be used with the database_sub_type property of a JobDatabase. DATABASE_TYPE_CLOUD_AT_CUSTOMERA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_CLOUD_RACA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_CLOUD_SIDBA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_DEDICATEDA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_EXTERNAL_RACA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_EXTERNAL_SIDBA constant which can be used with the database_type property of a JobDatabase. DATABASE_TYPE_SHAREDA constant which can be used with the database_type property of a JobDatabase. DEPLOYMENT_TYPE_AUTONOMOUSA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_BMA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_EXADATAA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_EXADATA_CCA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_EXADATA_XSA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_ONPREMISEA constant which can be used with the deployment_type property of a JobDatabase. DEPLOYMENT_TYPE_VMA constant which can be used with the deployment_type property of a JobDatabase. WORKLOAD_TYPE_AJDA constant which can be used with the workload_type property of a JobDatabase. WORKLOAD_TYPE_APEXA constant which can be used with the workload_type property of a JobDatabase. WORKLOAD_TYPE_DWA constant which can be used with the workload_type property of a JobDatabase. WORKLOAD_TYPE_OLTPA constant which can be used with the workload_type property of a JobDatabase. database_sub_typeGets the database_sub_type of this JobDatabase. database_typeGets the database_type of this JobDatabase. deployment_typeGets the deployment_type of this JobDatabase. id[Required] Gets the id of this JobDatabase. is_clusterGets the is_cluster of this JobDatabase. name[Required] Gets the name of this JobDatabase. workload_typeGets the workload_type of this JobDatabase. Methods
__init__(**kwargs)Initializes a new JobDatabase 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. This constant has a value of “SHARED”
-
DEPLOYMENT_TYPE_AUTONOMOUS= 'AUTONOMOUS'¶ A constant which can be used with the deployment_type property of a JobDatabase. This constant has a value of “AUTONOMOUS”
-
DEPLOYMENT_TYPE_BM= 'BM'¶ A constant which can be used with the deployment_type property of a JobDatabase. This constant has a value of “BM”
-
DEPLOYMENT_TYPE_EXADATA= 'EXADATA'¶ A constant which can be used with the deployment_type property of a JobDatabase. 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 JobDatabase. 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 JobDatabase. 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 JobDatabase. This constant has a value of “ONPREMISE”
-
DEPLOYMENT_TYPE_VM= 'VM'¶ A constant which can be used with the deployment_type property of a JobDatabase. This constant has a value of “VM”
-
WORKLOAD_TYPE_AJD= 'AJD'¶ A constant which can be used with the workload_type property of a JobDatabase. This constant has a value of “AJD”
-
WORKLOAD_TYPE_APEX= 'APEX'¶ A constant which can be used with the workload_type property of a JobDatabase. This constant has a value of “APEX”
-
WORKLOAD_TYPE_DW= 'DW'¶ A constant which can be used with the workload_type property of a JobDatabase. This constant has a value of “DW”
-
WORKLOAD_TYPE_OLTP= 'OLTP'¶ A constant which can be used with the workload_type property of a JobDatabase. This constant has a value of “OLTP”
-
__init__(**kwargs)¶ Initializes a new JobDatabase 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 JobDatabase.
- name (str) – The value to assign to the name property of this JobDatabase.
- database_type (str) – The value to assign to the database_type property of this JobDatabase. 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 JobDatabase. 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’.
- deployment_type (str) – The value to assign to the deployment_type property of this JobDatabase. 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’.
- is_cluster (bool) – The value to assign to the is_cluster property of this JobDatabase.
- workload_type (str) – The value to assign to the workload_type property of this JobDatabase. 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_sub_type¶ Gets the database_sub_type of this JobDatabase. 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”, “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 JobDatabase. Return type: str
-
database_type¶ Gets the database_type of this JobDatabase. 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 JobDatabase. Return type: str
-
deployment_type¶ Gets the deployment_type of this JobDatabase. A list of the supported infrastructure that can be used to deploy the 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 JobDatabase. Return type: str
-
id¶ [Required] Gets the id of this JobDatabase. The OCID of the Managed Database.
Returns: The id of this JobDatabase. Return type: str
-
is_cluster¶ Gets the is_cluster of this JobDatabase. Indicates whether the Oracle Database is part of a cluster.
Returns: The is_cluster of this JobDatabase. Return type: bool
-
name¶ [Required] Gets the name of this JobDatabase. The name of the Managed Database.
Returns: The name of this JobDatabase. Return type: str
-
workload_type¶ Gets the workload_type of this JobDatabase. 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 JobDatabase. Return type: str
-