DiscoveryJobLogSummary

class oci.stack_monitoring.models.DiscoveryJobLogSummary(**kwargs)

Bases: object

Log of a specific job

Attributes

LOG_TYPE_ERROR A constant which can be used with the log_type property of a DiscoveryJobLogSummary.
LOG_TYPE_INFO A constant which can be used with the log_type property of a DiscoveryJobLogSummary.
LOG_TYPE_SUCCESS A constant which can be used with the log_type property of a DiscoveryJobLogSummary.
LOG_TYPE_WARNING A constant which can be used with the log_type property of a DiscoveryJobLogSummary.
id [Required] Gets the id of this DiscoveryJobLogSummary.
log_message [Required] Gets the log_message of this DiscoveryJobLogSummary.
log_type [Required] Gets the log_type of this DiscoveryJobLogSummary.
system_tags Gets the system_tags of this DiscoveryJobLogSummary.
time_created [Required] Gets the time_created of this DiscoveryJobLogSummary.

Methods

__init__(**kwargs) Initializes a new DiscoveryJobLogSummary object with values from keyword arguments.
LOG_TYPE_ERROR = 'ERROR'

A constant which can be used with the log_type property of a DiscoveryJobLogSummary. This constant has a value of “ERROR”

LOG_TYPE_INFO = 'INFO'

A constant which can be used with the log_type property of a DiscoveryJobLogSummary. This constant has a value of “INFO”

LOG_TYPE_SUCCESS = 'SUCCESS'

A constant which can be used with the log_type property of a DiscoveryJobLogSummary. This constant has a value of “SUCCESS”

LOG_TYPE_WARNING = 'WARNING'

A constant which can be used with the log_type property of a DiscoveryJobLogSummary. This constant has a value of “WARNING”

__init__(**kwargs)

Initializes a new DiscoveryJobLogSummary 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 DiscoveryJobLogSummary.
  • log_type (str) – The value to assign to the log_type property of this DiscoveryJobLogSummary. Allowed values for this property are: “INFO”, “WARNING”, “ERROR”, “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • log_message (str) – The value to assign to the log_message property of this DiscoveryJobLogSummary.
  • time_created (datetime) – The value to assign to the time_created property of this DiscoveryJobLogSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DiscoveryJobLogSummary.
id

[Required] Gets the id of this DiscoveryJobLogSummary. The OCID of Discovery job

Returns:The id of this DiscoveryJobLogSummary.
Return type:str
log_message

[Required] Gets the log_message of this DiscoveryJobLogSummary. Log message

Returns:The log_message of this DiscoveryJobLogSummary.
Return type:str
log_type

[Required] Gets the log_type of this DiscoveryJobLogSummary. Type of log (INFO, WARNING, ERROR or SUCCESS)

Allowed values for this property are: “INFO”, “WARNING”, “ERROR”, “SUCCESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The log_type of this DiscoveryJobLogSummary.
Return type:str
system_tags

Gets the system_tags of this DiscoveryJobLogSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DiscoveryJobLogSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this DiscoveryJobLogSummary. Time the Job log was created

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