CreateLogAnalyticsLogGroupDetails

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

Bases: object

Information about a new log group.

Methods:

__init__(**kwargs)

Initializes a new CreateLogAnalyticsLogGroupDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateLogAnalyticsLogGroupDetails.

defined_tags

Gets the defined_tags of this CreateLogAnalyticsLogGroupDetails.

description

Gets the description of this CreateLogAnalyticsLogGroupDetails.

display_name

[Required] Gets the display_name of this CreateLogAnalyticsLogGroupDetails.

freeform_tags

Gets the freeform_tags of this CreateLogAnalyticsLogGroupDetails.

__init__(**kwargs)

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

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateLogAnalyticsLogGroupDetails.

  • description (str) – The value to assign to the description property of this CreateLogAnalyticsLogGroupDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateLogAnalyticsLogGroupDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLogAnalyticsLogGroupDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLogAnalyticsLogGroupDetails.

property compartment_id

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

Returns

The compartment_id of this CreateLogAnalyticsLogGroupDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateLogAnalyticsLogGroupDetails. 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 CreateLogAnalyticsLogGroupDetails.

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this CreateLogAnalyticsLogGroupDetails.

Return type

str

property display_name

[Required] Gets the display_name of this CreateLogAnalyticsLogGroupDetails. 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 CreateLogAnalyticsLogGroupDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateLogAnalyticsLogGroupDetails. 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 CreateLogAnalyticsLogGroupDetails.

Return type

dict(str, str)