LogAnalyticsLogGroupSummary¶
- class oci.log_analytics.models.LogAnalyticsLogGroupSummary(**kwargs)¶
Bases:
objectSummary of a Log-Analytics log group.
Methods:
__init__(**kwargs)Initializes a new LogAnalyticsLogGroupSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this LogAnalyticsLogGroupSummary.
Gets the defined_tags of this LogAnalyticsLogGroupSummary.
Gets the description of this LogAnalyticsLogGroupSummary.
Gets the display_name of this LogAnalyticsLogGroupSummary.
Gets the freeform_tags of this LogAnalyticsLogGroupSummary.
[Required] Gets the id of this LogAnalyticsLogGroupSummary.
Gets the time_created of this LogAnalyticsLogGroupSummary.
Gets the time_updated of this LogAnalyticsLogGroupSummary.
- __init__(**kwargs)¶
Initializes a new LogAnalyticsLogGroupSummary 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 LogAnalyticsLogGroupSummary.
display_name (str) – The value to assign to the display_name property of this LogAnalyticsLogGroupSummary.
description (str) – The value to assign to the description property of this LogAnalyticsLogGroupSummary.
compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsLogGroupSummary.
time_created (datetime) – The value to assign to the time_created property of this LogAnalyticsLogGroupSummary.
time_updated (datetime) – The value to assign to the time_updated property of this LogAnalyticsLogGroupSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LogAnalyticsLogGroupSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LogAnalyticsLogGroupSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this LogAnalyticsLogGroupSummary. Compartment Identifier OCID].
- Returns
The compartment_id of this LogAnalyticsLogGroupSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this LogAnalyticsLogGroupSummary. 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 LogAnalyticsLogGroupSummary.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this LogAnalyticsLogGroupSummary. Description for this resource.
- Returns
The description of this LogAnalyticsLogGroupSummary.
- Return type
str
- property display_name¶
Gets the display_name of this LogAnalyticsLogGroupSummary. 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 LogAnalyticsLogGroupSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this LogAnalyticsLogGroupSummary. 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 LogAnalyticsLogGroupSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this LogAnalyticsLogGroupSummary. 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 LogAnalyticsLogGroupSummary.
- Return type
str
- property time_created¶
Gets the time_created of this LogAnalyticsLogGroupSummary. The date and time the resource was created, in the format defined by RFC3339.
- Returns
The time_created of this LogAnalyticsLogGroupSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this LogAnalyticsLogGroupSummary. The date and time the resource was last updated, in the format defined by RFC3339.
- Returns
The time_updated of this LogAnalyticsLogGroupSummary.
- Return type
datetime