CreateLogAnalyticsEntityDetails

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

Bases: object

Details for new log analytics entity to be added.

Methods

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

Attributes

cloud_resource_id Gets the cloud_resource_id of this CreateLogAnalyticsEntityDetails.
compartment_id [Required] Gets the compartment_id of this CreateLogAnalyticsEntityDetails.
defined_tags Gets the defined_tags of this CreateLogAnalyticsEntityDetails.
entity_type_name [Required] Gets the entity_type_name of this CreateLogAnalyticsEntityDetails.
freeform_tags Gets the freeform_tags of this CreateLogAnalyticsEntityDetails.
hostname Gets the hostname of this CreateLogAnalyticsEntityDetails.
management_agent_id Gets the management_agent_id of this CreateLogAnalyticsEntityDetails.
name [Required] Gets the name of this CreateLogAnalyticsEntityDetails.
properties Gets the properties of this CreateLogAnalyticsEntityDetails.
source_id Gets the source_id of this CreateLogAnalyticsEntityDetails.
timezone_region Gets the timezone_region of this CreateLogAnalyticsEntityDetails.
__init__(**kwargs)

Initializes a new CreateLogAnalyticsEntityDetails 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 CreateLogAnalyticsEntityDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateLogAnalyticsEntityDetails.
  • entity_type_name (str) – The value to assign to the entity_type_name property of this CreateLogAnalyticsEntityDetails.
  • management_agent_id (str) – The value to assign to the management_agent_id property of this CreateLogAnalyticsEntityDetails.
  • cloud_resource_id (str) – The value to assign to the cloud_resource_id property of this CreateLogAnalyticsEntityDetails.
  • timezone_region (str) – The value to assign to the timezone_region property of this CreateLogAnalyticsEntityDetails.
  • hostname (str) – The value to assign to the hostname property of this CreateLogAnalyticsEntityDetails.
  • source_id (str) – The value to assign to the source_id property of this CreateLogAnalyticsEntityDetails.
  • properties (dict(str, str)) – The value to assign to the properties property of this CreateLogAnalyticsEntityDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLogAnalyticsEntityDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLogAnalyticsEntityDetails.
cloud_resource_id

Gets the cloud_resource_id of this CreateLogAnalyticsEntityDetails. The OCID of the Cloud resource which this entity is a representation of. This may be blank when the entity represents a non-cloud resource that the customer may have on their premises.

Returns:The cloud_resource_id of this CreateLogAnalyticsEntityDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateLogAnalyticsEntityDetails. Compartment Identifier OCID].

Returns:The compartment_id of this CreateLogAnalyticsEntityDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateLogAnalyticsEntityDetails. 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 CreateLogAnalyticsEntityDetails.
Return type:dict(str, dict(str, object))
entity_type_name

[Required] Gets the entity_type_name of this CreateLogAnalyticsEntityDetails. Log analytics entity type name.

Returns:The entity_type_name of this CreateLogAnalyticsEntityDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateLogAnalyticsEntityDetails. 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 CreateLogAnalyticsEntityDetails.
Return type:dict(str, str)
hostname

Gets the hostname of this CreateLogAnalyticsEntityDetails. 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 CreateLogAnalyticsEntityDetails.
Return type:str
management_agent_id

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

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

[Required] Gets the name of this CreateLogAnalyticsEntityDetails. Log analytics entity name.

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

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

Returns:The properties of this CreateLogAnalyticsEntityDetails.
Return type:dict(str, str)
source_id

Gets the source_id of this CreateLogAnalyticsEntityDetails. This indicates the type of source. It is primarily for Enterprise Manager Repository ID.

Returns:The source_id of this CreateLogAnalyticsEntityDetails.
Return type:str
timezone_region

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

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