LogAnalyticsAssociation

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

Bases: object

Attributes

LIFE_CYCLE_STATE_ACCEPTED A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation.
LIFE_CYCLE_STATE_FAILED A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation.
LIFE_CYCLE_STATE_IN_PROGRESS A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation.
LIFE_CYCLE_STATE_SUCCEEDED A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation.
agent_entity_name Gets the agent_entity_name of this LogAnalyticsAssociation.
agent_id Gets the agent_id of this LogAnalyticsAssociation.
entity_id Gets the entity_id of this LogAnalyticsAssociation.
entity_name Gets the entity_name of this LogAnalyticsAssociation.
entity_type_display_name Gets the entity_type_display_name of this LogAnalyticsAssociation.
entity_type_name Gets the entity_type_name of this LogAnalyticsAssociation.
failure_message Gets the failure_message of this LogAnalyticsAssociation.
host Gets the host of this LogAnalyticsAssociation.
life_cycle_state Gets the life_cycle_state of this LogAnalyticsAssociation.
log_group_compartment Gets the log_group_compartment of this LogAnalyticsAssociation.
log_group_id Gets the log_group_id of this LogAnalyticsAssociation.
log_group_name Gets the log_group_name of this LogAnalyticsAssociation.
retry_count Gets the retry_count of this LogAnalyticsAssociation.
source_display_name Gets the source_display_name of this LogAnalyticsAssociation.
source_name Gets the source_name of this LogAnalyticsAssociation.
source_type_name Gets the source_type_name of this LogAnalyticsAssociation.
time_last_attempted Gets the time_last_attempted of this LogAnalyticsAssociation.

Methods

__init__(**kwargs) Initializes a new LogAnalyticsAssociation object with values from keyword arguments.
LIFE_CYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation. This constant has a value of “ACCEPTED”

LIFE_CYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation. This constant has a value of “FAILED”

LIFE_CYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation. This constant has a value of “IN_PROGRESS”

LIFE_CYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the life_cycle_state property of a LogAnalyticsAssociation. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

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

Parameters:
  • failure_message (str) – The value to assign to the failure_message property of this LogAnalyticsAssociation.
  • agent_id (str) – The value to assign to the agent_id property of this LogAnalyticsAssociation.
  • time_last_attempted (datetime) – The value to assign to the time_last_attempted property of this LogAnalyticsAssociation.
  • retry_count (int) – The value to assign to the retry_count property of this LogAnalyticsAssociation.
  • source_name (str) – The value to assign to the source_name property of this LogAnalyticsAssociation.
  • source_display_name (str) – The value to assign to the source_display_name property of this LogAnalyticsAssociation.
  • source_type_name (str) – The value to assign to the source_type_name property of this LogAnalyticsAssociation.
  • life_cycle_state (str) – The value to assign to the life_cycle_state property of this LogAnalyticsAssociation. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • entity_id (str) – The value to assign to the entity_id property of this LogAnalyticsAssociation.
  • entity_name (str) – The value to assign to the entity_name property of this LogAnalyticsAssociation.
  • entity_type_name (str) – The value to assign to the entity_type_name property of this LogAnalyticsAssociation.
  • host (str) – The value to assign to the host property of this LogAnalyticsAssociation.
  • agent_entity_name (str) – The value to assign to the agent_entity_name property of this LogAnalyticsAssociation.
  • entity_type_display_name (str) – The value to assign to the entity_type_display_name property of this LogAnalyticsAssociation.
  • log_group_id (str) – The value to assign to the log_group_id property of this LogAnalyticsAssociation.
  • log_group_name (str) – The value to assign to the log_group_name property of this LogAnalyticsAssociation.
  • log_group_compartment (str) – The value to assign to the log_group_compartment property of this LogAnalyticsAssociation.
agent_entity_name

Gets the agent_entity_name of this LogAnalyticsAssociation. The name of the entity which contains the agent.

Returns:The agent_entity_name of this LogAnalyticsAssociation.
Return type:str
agent_id

Gets the agent_id of this LogAnalyticsAssociation. The agent unique identifier.

Returns:The agent_id of this LogAnalyticsAssociation.
Return type:str
entity_id

Gets the entity_id of this LogAnalyticsAssociation. The entity unique identifier.

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

Gets the entity_name of this LogAnalyticsAssociation. The entity name.

Returns:The entity_name of this LogAnalyticsAssociation.
Return type:str
entity_type_display_name

Gets the entity_type_display_name of this LogAnalyticsAssociation. The entity type display name.

Returns:The entity_type_display_name of this LogAnalyticsAssociation.
Return type:str
entity_type_name

Gets the entity_type_name of this LogAnalyticsAssociation. The entity type internal name.

Returns:The entity_type_name of this LogAnalyticsAssociation.
Return type:str
failure_message

Gets the failure_message of this LogAnalyticsAssociation. The failure message.

Returns:The failure_message of this LogAnalyticsAssociation.
Return type:str
host

Gets the host of this LogAnalyticsAssociation. The host name.

Returns:The host of this LogAnalyticsAssociation.
Return type:str
life_cycle_state

Gets the life_cycle_state of this LogAnalyticsAssociation. The lifecycle status. Valid values are ACCEPTED, IN_PROGRESS, SUCCEEDED or FAILED.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The life_cycle_state of this LogAnalyticsAssociation.
Return type:str
log_group_compartment

Gets the log_group_compartment of this LogAnalyticsAssociation. The log group compartment.

Returns:The log_group_compartment of this LogAnalyticsAssociation.
Return type:str
log_group_id

Gets the log_group_id of this LogAnalyticsAssociation. The log group unique identifier.

Returns:The log_group_id of this LogAnalyticsAssociation.
Return type:str
log_group_name

Gets the log_group_name of this LogAnalyticsAssociation. The log group name.

Returns:The log_group_name of this LogAnalyticsAssociation.
Return type:str
retry_count

Gets the retry_count of this LogAnalyticsAssociation. The number of times the association will be attempted before failing.

Returns:The retry_count of this LogAnalyticsAssociation.
Return type:int
source_display_name

Gets the source_display_name of this LogAnalyticsAssociation. The source display name.

Returns:The source_display_name of this LogAnalyticsAssociation.
Return type:str
source_name

Gets the source_name of this LogAnalyticsAssociation. The source name.

Returns:The source_name of this LogAnalyticsAssociation.
Return type:str
source_type_name

Gets the source_type_name of this LogAnalyticsAssociation. The source type internal name.

Returns:The source_type_name of this LogAnalyticsAssociation.
Return type:str
time_last_attempted

Gets the time_last_attempted of this LogAnalyticsAssociation. The last attempt date.

Returns:The time_last_attempted of this LogAnalyticsAssociation.
Return type:datetime