Show / Hide Table of Contents

Class Filter

Query builder filter action to apply edit to queryString.

Inheritance
object
Filter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class Filter

Properties

FieldName

Declaration
[JsonProperty(PropertyName = "fieldName")]
public string FieldName { get; set; }
Property Value
Type Description
string

Field filter references when inserting filter into the query string. Field must be a valid logging analytics out-of-the-box field, virtual field calculated in the query or a user defined field.

Operator

Declaration
[Required(ErrorMessage = "Operator is required.")]
[JsonProperty(PropertyName = "operator")]
[JsonConverter(typeof(StringEnumConverter))]
public Filter.OperatorEnum? Operator { get; set; }
Property Value
Type Description
Filter.OperatorEnum?

Operator to apply when editing the query string.

Remarks

Required

Values

Declaration
[JsonProperty(PropertyName = "values")]
public List<object> Values { get; set; }
Property Value
Type Description
List<object>

Field values that will be inserted into the query string for the specified fieldName. Please note all values should reflect the fields data type otherwise the insert is subject to fail.

In this article
Back to top