IngestTimeRuleFieldCondition¶
- class oci.log_analytics.models.IngestTimeRuleFieldCondition(**kwargs)¶
Bases:
IngestTimeRuleConditionThe field condition(s) to evaluate for an ingest time rule.
Attributes:
A constant which can be used with the field_operator property of a IngestTimeRuleFieldCondition.
A constant which can be used with the kind property of a IngestTimeRuleCondition.
Gets the additional_conditions of this IngestTimeRuleFieldCondition.
[Required] Gets the field_name of this IngestTimeRuleFieldCondition.
[Required] Gets the field_operator of this IngestTimeRuleFieldCondition.
[Required] Gets the field_value of this IngestTimeRuleFieldCondition.
[Required] Gets the kind of this IngestTimeRuleCondition.
Methods:
__init__(**kwargs)Initializes a new IngestTimeRuleFieldCondition object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- FIELD_OPERATOR_EQUAL = 'EQUAL'¶
A constant which can be used with the field_operator property of a IngestTimeRuleFieldCondition. This constant has a value of “EQUAL”
- KIND_FIELD = 'FIELD'¶
A constant which can be used with the kind property of a IngestTimeRuleCondition. This constant has a value of “FIELD”
- __init__(**kwargs)¶
Initializes a new IngestTimeRuleFieldCondition object with values from keyword arguments. The default value of the
kindattribute of this class isFIELDand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
kind (str) – The value to assign to the kind property of this IngestTimeRuleFieldCondition. Allowed values for this property are: “FIELD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
field_name (str) – The value to assign to the field_name property of this IngestTimeRuleFieldCondition.
field_operator (str) – The value to assign to the field_operator property of this IngestTimeRuleFieldCondition. Allowed values for this property are: “EQUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
field_value (str) – The value to assign to the field_value property of this IngestTimeRuleFieldCondition.
additional_conditions (list[oci.log_analytics.models.IngestTimeRuleAdditionalFieldCondition]) – The value to assign to the additional_conditions property of this IngestTimeRuleFieldCondition.
- property additional_conditions¶
Gets the additional_conditions of this IngestTimeRuleFieldCondition. Optional additional condition(s) to be evaluated.
- Returns
The additional_conditions of this IngestTimeRuleFieldCondition.
- Return type
list[oci.log_analytics.models.IngestTimeRuleAdditionalFieldCondition]
- property field_name¶
[Required] Gets the field_name of this IngestTimeRuleFieldCondition. The field name to be evaluated.
- Returns
The field_name of this IngestTimeRuleFieldCondition.
- Return type
str
- property field_operator¶
[Required] Gets the field_operator of this IngestTimeRuleFieldCondition. The operator to be used for evaluating the field.
Allowed values for this property are: “EQUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The field_operator of this IngestTimeRuleFieldCondition.
- Return type
str
- property field_value¶
[Required] Gets the field_value of this IngestTimeRuleFieldCondition. The field value to be evaluated.
- Returns
The field_value of this IngestTimeRuleFieldCondition.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kind¶
[Required] Gets the kind of this IngestTimeRuleCondition. Discriminator.
Allowed values for this property are: “FIELD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The kind of this IngestTimeRuleCondition.
- Return type
str