IngestTimeRuleFieldCondition¶
-
class
oci.log_analytics.models.
IngestTimeRuleFieldCondition
(**kwargs)¶ Bases:
oci.log_analytics.models.ingest_time_rule_condition.IngestTimeRuleCondition
The field condition(s) to evaluate for an ingest time rule.
Attributes
FIELD_OPERATOR_EQUAL
A constant which can be used with the field_operator property of a IngestTimeRuleFieldCondition. KIND_FIELD
str(object=’’) -> str additional_conditions
Gets the additional_conditions of this IngestTimeRuleFieldCondition. field_name
[Required] Gets the field_name of this IngestTimeRuleFieldCondition. field_operator
[Required] Gets the field_operator of this IngestTimeRuleFieldCondition. field_value
[Required] Gets the field_value of this IngestTimeRuleFieldCondition. kind
[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'¶
-
__init__
(**kwargs)¶ Initializes a new IngestTimeRuleFieldCondition object with values from keyword arguments. The default value of the
kind
attribute of this class isFIELD
and 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.
-
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]
-
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
-
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
-
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.
-
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
-