MetricFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The OData filters to be used for metrics.
public class MetricFilter
type MetricFilter = class
Public Class MetricFilter
- Inheritance
-
MetricFilter
Constructors
MetricFilter() |
Initializes a new instance of the MetricFilter class. |
MetricFilter(String, MetricNameFilter, Nullable<DateTime>, Nullable<DateTime>, String, DimensionFilter) |
Initializes a new instance of the MetricFilter class. |
Properties
Category |
Gets or sets specifies the category of the metrics to be filtered. E.g., "CapacityUtilization". Valid values are the ones returned as the field "category" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property. |
Dimensions |
Gets or sets specifies the source(the dimension) of the metrics to be filtered. Only 'Equality' operator is supported for this property. |
EndTime |
Gets or sets specifies the end time of the time range to be queried. Only 'Less Than Or Equal To' operator is supported for this property. |
Name |
Gets or sets specifies the metric name filter specifying the name of the metric to be filtered on. Only 'Equality' operator is supported for this property. |
StartTime |
Gets or sets specifies the start time of the time range to be queried. Only 'Greater Than Or Equal To' operator is supported for this property. |
TimeGrain |
Gets or sets specifies the time granularity of the metrics to be returned. E.g., "P1D". Valid values are the ones returned as the field "timeGrain" in the ListMetricDefinitions call. Only 'Equality' operator is supported for this property. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET