LogAnalyticsWarning

class oci.log_analytics.models.LogAnalyticsWarning(**kwargs)

Bases: object

Methods

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

Attributes

agent_id Gets the agent_id of this LogAnalyticsWarning.
compartment_id Gets the compartment_id of this LogAnalyticsWarning.
entity_id Gets the entity_id of this LogAnalyticsWarning.
entity_name Gets the entity_name of this LogAnalyticsWarning.
entity_type Gets the entity_type of this LogAnalyticsWarning.
entity_type_display_name Gets the entity_type_display_name of this LogAnalyticsWarning.
host_name Gets the host_name of this LogAnalyticsWarning.
is_active Gets the is_active of this LogAnalyticsWarning.
is_suppressed Gets the is_suppressed of this LogAnalyticsWarning.
pattern_id Gets the pattern_id of this LogAnalyticsWarning.
pattern_text Gets the pattern_text of this LogAnalyticsWarning.
rule_display_name Gets the rule_display_name of this LogAnalyticsWarning.
rule_id Gets the rule_id of this LogAnalyticsWarning.
severity Gets the severity of this LogAnalyticsWarning.
source_display_name Gets the source_display_name of this LogAnalyticsWarning.
source_id Gets the source_id of this LogAnalyticsWarning.
source_name Gets the source_name of this LogAnalyticsWarning.
suppressed_by Gets the suppressed_by of this LogAnalyticsWarning.
time_collected Gets the time_collected of this LogAnalyticsWarning.
time_of_initial_warning Gets the time_of_initial_warning of this LogAnalyticsWarning.
time_of_latest_warning Gets the time_of_latest_warning of this LogAnalyticsWarning.
type_display_name Gets the type_display_name of this LogAnalyticsWarning.
type_name Gets the type_name of this LogAnalyticsWarning.
warning_id Gets the warning_id of this LogAnalyticsWarning.
warning_level Gets the warning_level of this LogAnalyticsWarning.
warning_message Gets the warning_message of this LogAnalyticsWarning.
__init__(**kwargs)

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

Parameters:
  • agent_id (str) – The value to assign to the agent_id property of this LogAnalyticsWarning.
  • host_name (str) – The value to assign to the host_name property of this LogAnalyticsWarning.
  • rule_display_name (str) – The value to assign to the rule_display_name property of this LogAnalyticsWarning.
  • source_name (str) – The value to assign to the source_name property of this LogAnalyticsWarning.
  • compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsWarning.
  • source_display_name (str) – The value to assign to the source_display_name property of this LogAnalyticsWarning.
  • entity_name (str) – The value to assign to the entity_name property of this LogAnalyticsWarning.
  • time_collected (datetime) – The value to assign to the time_collected property of this LogAnalyticsWarning.
  • warning_id (str) – The value to assign to the warning_id property of this LogAnalyticsWarning.
  • time_of_initial_warning (datetime) – The value to assign to the time_of_initial_warning property of this LogAnalyticsWarning.
  • is_active (bool) – The value to assign to the is_active property of this LogAnalyticsWarning.
  • is_suppressed (bool) – The value to assign to the is_suppressed property of this LogAnalyticsWarning.
  • time_of_latest_warning (datetime) – The value to assign to the time_of_latest_warning property of this LogAnalyticsWarning.
  • warning_level (str) – The value to assign to the warning_level property of this LogAnalyticsWarning.
  • warning_message (str) – The value to assign to the warning_message property of this LogAnalyticsWarning.
  • pattern_id (str) – The value to assign to the pattern_id property of this LogAnalyticsWarning.
  • pattern_text (str) – The value to assign to the pattern_text property of this LogAnalyticsWarning.
  • rule_id (str) – The value to assign to the rule_id property of this LogAnalyticsWarning.
  • source_id (str) – The value to assign to the source_id property of this LogAnalyticsWarning.
  • suppressed_by (str) – The value to assign to the suppressed_by property of this LogAnalyticsWarning.
  • entity_id (str) – The value to assign to the entity_id property of this LogAnalyticsWarning.
  • entity_type (str) – The value to assign to the entity_type property of this LogAnalyticsWarning.
  • entity_type_display_name (str) – The value to assign to the entity_type_display_name property of this LogAnalyticsWarning.
  • type_display_name (str) – The value to assign to the type_display_name property of this LogAnalyticsWarning.
  • type_name (str) – The value to assign to the type_name property of this LogAnalyticsWarning.
  • severity (int) – The value to assign to the severity property of this LogAnalyticsWarning.
agent_id

Gets the agent_id of this LogAnalyticsWarning. The unique identifier of the agent associated with the warning

Returns:The agent_id of this LogAnalyticsWarning.
Return type:str
compartment_id

Gets the compartment_id of this LogAnalyticsWarning. The entity compartment ID.

Returns:The compartment_id of this LogAnalyticsWarning.
Return type:str
entity_id

Gets the entity_id of this LogAnalyticsWarning. The unique identifier of the entity associated with the warning

Returns:The entity_id of this LogAnalyticsWarning.
Return type:str
entity_name

Gets the entity_name of this LogAnalyticsWarning. The name of the entity associated with the warning

Returns:The entity_name of this LogAnalyticsWarning.
Return type:str
entity_type

Gets the entity_type of this LogAnalyticsWarning. The type of the entity associated with the warning

Returns:The entity_type of this LogAnalyticsWarning.
Return type:str
entity_type_display_name

Gets the entity_type_display_name of this LogAnalyticsWarning. The display name of the entity type associated with the warning

Returns:The entity_type_display_name of this LogAnalyticsWarning.
Return type:str
host_name

Gets the host_name of this LogAnalyticsWarning. The host containing the agent associated with the warning

Returns:The host_name of this LogAnalyticsWarning.
Return type:str
is_active

Gets the is_active of this LogAnalyticsWarning. A flag indicating if the warning is currently active

Returns:The is_active of this LogAnalyticsWarning.
Return type:bool
is_suppressed

Gets the is_suppressed of this LogAnalyticsWarning. A flag indicating if the warning is currently suppressed

Returns:The is_suppressed of this LogAnalyticsWarning.
Return type:bool
pattern_id

Gets the pattern_id of this LogAnalyticsWarning. The unique identifier of the warning pattern

Returns:The pattern_id of this LogAnalyticsWarning.
Return type:str
pattern_text

Gets the pattern_text of this LogAnalyticsWarning. The text of the pattern used by the warning

Returns:The pattern_text of this LogAnalyticsWarning.
Return type:str
rule_display_name

Gets the rule_display_name of this LogAnalyticsWarning. The display name of the rule which triggered the warning

Returns:The rule_display_name of this LogAnalyticsWarning.
Return type:str
rule_id

Gets the rule_id of this LogAnalyticsWarning. The unique identifier of the rule associated with the warning

Returns:The rule_id of this LogAnalyticsWarning.
Return type:str
severity

Gets the severity of this LogAnalyticsWarning. The warning severity

Returns:The severity of this LogAnalyticsWarning.
Return type:int
source_display_name

Gets the source_display_name of this LogAnalyticsWarning. The display name of the source associated with the warning

Returns:The source_display_name of this LogAnalyticsWarning.
Return type:str
source_id

Gets the source_id of this LogAnalyticsWarning. The unique identifier of the source associated with the warning

Returns:The source_id of this LogAnalyticsWarning.
Return type:str
source_name

Gets the source_name of this LogAnalyticsWarning. The name of the source associated with the warning

Returns:The source_name of this LogAnalyticsWarning.
Return type:str
suppressed_by

Gets the suppressed_by of this LogAnalyticsWarning. The user who suppressed the warning, or empty if the warning is not suppressed

Returns:The suppressed_by of this LogAnalyticsWarning.
Return type:str
time_collected

Gets the time_collected of this LogAnalyticsWarning. The time at which the warning was most recently collected

Returns:The time_collected of this LogAnalyticsWarning.
Return type:datetime
time_of_initial_warning

Gets the time_of_initial_warning of this LogAnalyticsWarning. The date at which the warning was initially triggered

Returns:The time_of_initial_warning of this LogAnalyticsWarning.
Return type:datetime
time_of_latest_warning

Gets the time_of_latest_warning of this LogAnalyticsWarning. The most recent date on which the warning was triggered

Returns:The time_of_latest_warning of this LogAnalyticsWarning.
Return type:datetime
type_display_name

Gets the type_display_name of this LogAnalyticsWarning. The display name of the warning type

Returns:The type_display_name of this LogAnalyticsWarning.
Return type:str
type_name

Gets the type_name of this LogAnalyticsWarning. The internal name of the warning

Returns:The type_name of this LogAnalyticsWarning.
Return type:str
warning_id

Gets the warning_id of this LogAnalyticsWarning. The unique identifier of the warning

Returns:The warning_id of this LogAnalyticsWarning.
Return type:str
warning_level

Gets the warning_level of this LogAnalyticsWarning. The warning level - either pattern, rule, or source.

Returns:The warning_level of this LogAnalyticsWarning.
Return type:str
warning_message

Gets the warning_message of this LogAnalyticsWarning. A description of the warning intended for the consumer of the warning. It will usually detail the cause of the warning, may suggest a remedy, and can contain any other relevant information the consumer might find useful

Returns:The warning_message of this LogAnalyticsWarning.
Return type:str