JobExecutionSummary

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

Bases: object

A summary of a job execution on a Managed Database.

Attributes

DATABASE_SUB_TYPE_CDB A constant which can be used with the database_sub_type property of a JobExecutionSummary.
DATABASE_SUB_TYPE_NON_CDB A constant which can be used with the database_sub_type property of a JobExecutionSummary.
DATABASE_SUB_TYPE_PDB A constant which can be used with the database_sub_type property of a JobExecutionSummary.
DATABASE_TYPE_CLOUD_RAC A constant which can be used with the database_type property of a JobExecutionSummary.
DATABASE_TYPE_CLOUD_SIDB A constant which can be used with the database_type property of a JobExecutionSummary.
DATABASE_TYPE_EXTERNAL_RAC A constant which can be used with the database_type property of a JobExecutionSummary.
DATABASE_TYPE_EXTERNAL_SIDB A constant which can be used with the database_type property of a JobExecutionSummary.
DEPLOYMENT_TYPE_BM A constant which can be used with the deployment_type property of a JobExecutionSummary.
DEPLOYMENT_TYPE_EXADATA A constant which can be used with the deployment_type property of a JobExecutionSummary.
DEPLOYMENT_TYPE_EXADATA_CC A constant which can be used with the deployment_type property of a JobExecutionSummary.
DEPLOYMENT_TYPE_ONPREMISE A constant which can be used with the deployment_type property of a JobExecutionSummary.
DEPLOYMENT_TYPE_VM A constant which can be used with the deployment_type property of a JobExecutionSummary.
compartment_id [Required] Gets the compartment_id of this JobExecutionSummary.
database_sub_type Gets the database_sub_type of this JobExecutionSummary.
database_type Gets the database_type of this JobExecutionSummary.
deployment_type Gets the deployment_type of this JobExecutionSummary.
id [Required] Gets the id of this JobExecutionSummary.
is_cluster Gets the is_cluster of this JobExecutionSummary.
job_id [Required] Gets the job_id of this JobExecutionSummary.
job_name [Required] Gets the job_name of this JobExecutionSummary.
managed_database_group_id Gets the managed_database_group_id of this JobExecutionSummary.
managed_database_id [Required] Gets the managed_database_id of this JobExecutionSummary.
managed_database_name [Required] Gets the managed_database_name of this JobExecutionSummary.
name [Required] Gets the name of this JobExecutionSummary.
status [Required] Gets the status of this JobExecutionSummary.
time_completed Gets the time_completed of this JobExecutionSummary.
time_created [Required] Gets the time_created of this JobExecutionSummary.

Methods

__init__(**kwargs) Initializes a new JobExecutionSummary 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. This constant has a value of “BM”

DEPLOYMENT_TYPE_EXADATA = 'EXADATA'

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

DEPLOYMENT_TYPE_VM = 'VM'

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

__init__(**kwargs)

Initializes a new JobExecutionSummary 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 JobExecutionSummary.
  • name (str) – The value to assign to the name property of this JobExecutionSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this JobExecutionSummary.
  • managed_database_group_id (str) – The value to assign to the managed_database_group_id property of this JobExecutionSummary.
  • managed_database_id (str) – The value to assign to the managed_database_id property of this JobExecutionSummary.
  • managed_database_name (str) – The value to assign to the managed_database_name property of this JobExecutionSummary.
  • database_type (str) – The value to assign to the database_type property of this JobExecutionSummary. 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 JobExecutionSummary. 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 JobExecutionSummary. 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’.
  • is_cluster (bool) – The value to assign to the is_cluster property of this JobExecutionSummary.
  • job_id (str) – The value to assign to the job_id property of this JobExecutionSummary.
  • job_name (str) – The value to assign to the job_name property of this JobExecutionSummary.
  • status (str) – The value to assign to the status property of this JobExecutionSummary.
  • time_created (datetime) – The value to assign to the time_created property of this JobExecutionSummary.
  • time_completed (datetime) – The value to assign to the time_completed property of this JobExecutionSummary.
compartment_id

[Required] Gets the compartment_id of this JobExecutionSummary. The OCID of the compartment in which the parent job resides.

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

Gets the database_sub_type of this JobExecutionSummary. 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 JobExecutionSummary.
Return type:str
database_type

Gets the database_type of this JobExecutionSummary. 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 JobExecutionSummary.
Return type:str
deployment_type

Gets the deployment_type of this JobExecutionSummary. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

[Required] Gets the id of this JobExecutionSummary. The identifier of the job execution.

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

Gets the is_cluster of this JobExecutionSummary. Indicates whether the Oracle Database is part of a cluster.

Returns:The is_cluster of this JobExecutionSummary.
Return type:bool
job_id

[Required] Gets the job_id of this JobExecutionSummary. The OCID of the parent job.

Returns:The job_id of this JobExecutionSummary.
Return type:str
job_name

[Required] Gets the job_name of this JobExecutionSummary. The name of the parent job.

Returns:The job_name of this JobExecutionSummary.
Return type:str
managed_database_group_id

Gets the managed_database_group_id of this JobExecutionSummary. The OCID of the Managed Database Group where the parent job has to be executed.

Returns:The managed_database_group_id of this JobExecutionSummary.
Return type:str
managed_database_id

[Required] Gets the managed_database_id of this JobExecutionSummary. The OCID of Managed Database associated with the job execution.

Returns:The managed_database_id of this JobExecutionSummary.
Return type:str
managed_database_name

[Required] Gets the managed_database_name of this JobExecutionSummary. The name of the Managed Database associated with the job execution.

Returns:The managed_database_name of this JobExecutionSummary.
Return type:str
name

[Required] Gets the name of this JobExecutionSummary. The name of the job execution.

Returns:The name of this JobExecutionSummary.
Return type:str
status

[Required] Gets the status of this JobExecutionSummary. The status of the job execution.

Returns:The status of this JobExecutionSummary.
Return type:str
time_completed

Gets the time_completed of this JobExecutionSummary. The date and time when the job execution was completed.

Returns:The time_completed of this JobExecutionSummary.
Return type:datetime
time_created

[Required] Gets the time_created of this JobExecutionSummary. The date and time when the job execution was created.

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