UpdateLogAnalyticsEntityDetails

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

Bases: object

Details of log analytics entity to be updated.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateLogAnalyticsEntityDetails.
freeform_tags Gets the freeform_tags of this UpdateLogAnalyticsEntityDetails.
hostname Gets the hostname of this UpdateLogAnalyticsEntityDetails.
management_agent_id Gets the management_agent_id of this UpdateLogAnalyticsEntityDetails.
name Gets the name of this UpdateLogAnalyticsEntityDetails.
properties Gets the properties of this UpdateLogAnalyticsEntityDetails.
timezone_region Gets the timezone_region of this UpdateLogAnalyticsEntityDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this UpdateLogAnalyticsEntityDetails.
  • management_agent_id (str) – The value to assign to the management_agent_id property of this UpdateLogAnalyticsEntityDetails.
  • timezone_region (str) – The value to assign to the timezone_region property of this UpdateLogAnalyticsEntityDetails.
  • hostname (str) – The value to assign to the hostname property of this UpdateLogAnalyticsEntityDetails.
  • properties (dict(str, str)) – The value to assign to the properties property of this UpdateLogAnalyticsEntityDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateLogAnalyticsEntityDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateLogAnalyticsEntityDetails.
defined_tags

Gets the defined_tags of this UpdateLogAnalyticsEntityDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this UpdateLogAnalyticsEntityDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this UpdateLogAnalyticsEntityDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this UpdateLogAnalyticsEntityDetails.
Return type:dict(str, str)
hostname

Gets the hostname of this UpdateLogAnalyticsEntityDetails. The hostname where the entity represented here is actually present. This would be the output one would get if they run echo $HOSTNAME on Linux or an equivalent OS command. This may be different from management agents host since logs may be collected remotely.

Returns:The hostname of this UpdateLogAnalyticsEntityDetails.
Return type:str
management_agent_id

Gets the management_agent_id of this UpdateLogAnalyticsEntityDetails. The OCID of the Management Agent.

Returns:The management_agent_id of this UpdateLogAnalyticsEntityDetails.
Return type:str
name

Gets the name of this UpdateLogAnalyticsEntityDetails. Log analytics entity name.

Returns:The name of this UpdateLogAnalyticsEntityDetails.
Return type:str
properties

Gets the properties of this UpdateLogAnalyticsEntityDetails. The name/value pairs for parameter values to be used in file patterns specified in log sources.

Returns:The properties of this UpdateLogAnalyticsEntityDetails.
Return type:dict(str, str)
timezone_region

Gets the timezone_region of this UpdateLogAnalyticsEntityDetails. The timezone region of the log analytics entity.

Returns:The timezone_region of this UpdateLogAnalyticsEntityDetails.
Return type:str