JobLog

class oci.data_catalog.models.JobLog(**kwargs)

Bases: object

Job log details. A job log is an audit log record inserted during the lifecycle of a job execution instance.

Methods

__init__(**kwargs) Initializes a new JobLog object with values from keyword arguments.

Attributes

created_by_id Gets the created_by_id of this JobLog.
job_execution_key Gets the job_execution_key of this JobLog.
key [Required] Gets the key of this JobLog.
log_message Gets the log_message of this JobLog.
severity Gets the severity of this JobLog.
time_created Gets the time_created of this JobLog.
time_updated Gets the time_updated of this JobLog.
updated_by_id Gets the updated_by_id of this JobLog.
uri Gets the uri of this JobLog.
__init__(**kwargs)

Initializes a new JobLog object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this JobLog.
  • job_execution_key (str) – The value to assign to the job_execution_key property of this JobLog.
  • created_by_id (str) – The value to assign to the created_by_id property of this JobLog.
  • updated_by_id (str) – The value to assign to the updated_by_id property of this JobLog.
  • time_updated (datetime) – The value to assign to the time_updated property of this JobLog.
  • time_created (datetime) – The value to assign to the time_created property of this JobLog.
  • severity (str) – The value to assign to the severity property of this JobLog.
  • log_message (str) – The value to assign to the log_message property of this JobLog.
  • uri (str) – The value to assign to the uri property of this JobLog.
created_by_id

Gets the created_by_id of this JobLog. OCID of the user who created the log record for this job. Usually the executor of the job instance.

Returns:The created_by_id of this JobLog.
Return type:str
job_execution_key

Gets the job_execution_key of this JobLog. The unique key of the parent job execution for which the log resource was created.

Returns:The job_execution_key of this JobLog.
Return type:str
key

[Required] Gets the key of this JobLog. Unique key of the job log that is immutable.

Returns:The key of this JobLog.
Return type:str
log_message

Gets the log_message of this JobLog. Message for this job log.

Returns:The log_message of this JobLog.
Return type:str
severity

Gets the severity of this JobLog. Severity level for this log.

Returns:The severity of this JobLog.
Return type:str
time_created

Gets the time_created of this JobLog. The date and time the job log was created, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z

Returns:The time_created of this JobLog.
Return type:datetime
time_updated

Gets the time_updated of this JobLog. Job log update time. An RFC3339 formatted datetime string.

Returns:The time_updated of this JobLog.
Return type:datetime
updated_by_id

Gets the updated_by_id of this JobLog. OCID of the user who created the log record for this job. Usually the executor of the job instance.

Returns:The updated_by_id of this JobLog.
Return type:str
uri

Gets the uri of this JobLog. URI to the job log instance in the API.

Returns:The uri of this JobLog.
Return type:str