JobLog¶
- class oci.data_catalog.models.JobLog(**kwargs)¶
Bases:
objectJob 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:
Gets the created_by_id of this JobLog.
Gets the job_execution_key of this JobLog.
[Required] Gets the key of this JobLog.
Gets the log_message of this JobLog.
Gets the severity of this JobLog.
Gets the time_created of this JobLog.
Gets the time_updated of this JobLog.
Gets the updated_by_id of this JobLog.
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.
- property 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
- property 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
- property 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
- property log_message¶
Gets the log_message of this JobLog. Message for this job log.
- Returns
The log_message of this JobLog.
- Return type
str
- property severity¶
Gets the severity of this JobLog. Severity level for this log.
- Returns
The severity of this JobLog.
- Return type
str
- property 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
- property 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
- property 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
- property 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