CreateIngestTimeRuleDetails

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

Bases: object

The information required to create an ingest time rule.

Methods:

__init__(**kwargs)

Initializes a new CreateIngestTimeRuleDetails object with values from keyword arguments.

Attributes:

actions

[Required] Gets the actions of this CreateIngestTimeRuleDetails.

compartment_id

[Required] Gets the compartment_id of this CreateIngestTimeRuleDetails.

conditions

[Required] Gets the conditions of this CreateIngestTimeRuleDetails.

defined_tags

Gets the defined_tags of this CreateIngestTimeRuleDetails.

description

Gets the description of this CreateIngestTimeRuleDetails.

display_name

[Required] Gets the display_name of this CreateIngestTimeRuleDetails.

freeform_tags

Gets the freeform_tags of this CreateIngestTimeRuleDetails.

__init__(**kwargs)

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

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

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

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

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

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

  • conditions (oci.log_analytics.models.IngestTimeRuleCondition) – The value to assign to the conditions property of this CreateIngestTimeRuleDetails.

  • actions (list[oci.log_analytics.models.IngestTimeRuleAction]) – The value to assign to the actions property of this CreateIngestTimeRuleDetails.

property actions

[Required] Gets the actions of this CreateIngestTimeRuleDetails. The action(s) to be performed if the ingest time rule condition(s) are satisfied.

Returns

The actions of this CreateIngestTimeRuleDetails.

Return type

list[oci.log_analytics.models.IngestTimeRuleAction]

property compartment_id

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

Returns

The compartment_id of this CreateIngestTimeRuleDetails.

Return type

str

property conditions

[Required] Gets the conditions of this CreateIngestTimeRuleDetails.

Returns

The conditions of this CreateIngestTimeRuleDetails.

Return type

oci.log_analytics.models.IngestTimeRuleCondition

property defined_tags

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

Return type

dict(str, dict(str, object))

property description

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

Returns

The description of this CreateIngestTimeRuleDetails.

Return type

str

property display_name

[Required] Gets the display_name of this CreateIngestTimeRuleDetails. The ingest time rule display name.

Returns

The display_name of this CreateIngestTimeRuleDetails.

Return type

str

property freeform_tags

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

Return type

dict(str, str)