C# Class Microsoft.Azure.Insights.Legacy.MetricFilterRegexParser

Simple filter parser class to implement very basic $filter Supported syntax: (optional names clause) and (timeGrain clause) and (startTime clause) and (endTime clause) Clauses can be in any order Names clause must be surrounded by parentheses if it contains multiple names No parentheses are allowed outside the names clause NOTE: The regex parser does not currently support dimensions (dimensionname.value, dimensionvalue.value)
Show file Open project: Azure/azure-powershell

Public Methods

Method Description
Parse ( string query ) : MetricFilter

Creates a new Filter object from the ($filter) query string

Method Details

Parse() public static method

Creates a new Filter object from the ($filter) query string
public static Parse ( string query ) : MetricFilter
query string The query string
return MetricFilter