LogAnalyticsLogGroup

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

Bases: object

Summary of an Log-Analytics log group.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this LogAnalyticsLogGroup.
defined_tags Gets the defined_tags of this LogAnalyticsLogGroup.
description Gets the description of this LogAnalyticsLogGroup.
display_name [Required] Gets the display_name of this LogAnalyticsLogGroup.
freeform_tags Gets the freeform_tags of this LogAnalyticsLogGroup.
id Gets the id of this LogAnalyticsLogGroup.
time_created Gets the time_created of this LogAnalyticsLogGroup.
time_updated Gets the time_updated of this LogAnalyticsLogGroup.
__init__(**kwargs)

Initializes a new LogAnalyticsLogGroup 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 LogAnalyticsLogGroup.
  • display_name (str) – The value to assign to the display_name property of this LogAnalyticsLogGroup.
  • description (str) – The value to assign to the description property of this LogAnalyticsLogGroup.
  • compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsLogGroup.
  • time_created (datetime) – The value to assign to the time_created property of this LogAnalyticsLogGroup.
  • time_updated (datetime) – The value to assign to the time_updated property of this LogAnalyticsLogGroup.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LogAnalyticsLogGroup.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LogAnalyticsLogGroup.
compartment_id

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

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

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

Gets the description of this LogAnalyticsLogGroup. Description for this resource.

Returns:The description of this LogAnalyticsLogGroup.
Return type:str
display_name

[Required] Gets the display_name of this LogAnalyticsLogGroup. A user-friendly name that is changeable and that does not have to be unique. Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed.

Returns:The display_name of this LogAnalyticsLogGroup.
Return type:str
freeform_tags

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

Gets the id of this LogAnalyticsLogGroup. The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.

Returns:The id of this LogAnalyticsLogGroup.
Return type:str
time_created

Gets the time_created of this LogAnalyticsLogGroup. The date and time the resource was created, in the format defined by RFC3339.

Returns:The time_created of this LogAnalyticsLogGroup.
Return type:datetime
time_updated

Gets the time_updated of this LogAnalyticsLogGroup. The date and time the resource was last updated, in the format defined by RFC3339.

Returns:The time_updated of this LogAnalyticsLogGroup.
Return type:datetime