MetricFilter Constructors

Definition

Overloads

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.

MetricFilter()

Initializes a new instance of the MetricFilter class.

public MetricFilter ();
Public Sub New ()

Applies to

MetricFilter(String, MetricNameFilter, Nullable<DateTime>, Nullable<DateTime>, String, DimensionFilter)

Initializes a new instance of the MetricFilter class.

public MetricFilter (string category, Microsoft.Azure.Management.StorSimple8000Series.Models.MetricNameFilter name = default, DateTime? startTime = default, DateTime? endTime = default, string timeGrain = default, Microsoft.Azure.Management.StorSimple8000Series.Models.DimensionFilter dimensions = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.MetricFilter : string * Microsoft.Azure.Management.StorSimple8000Series.Models.MetricNameFilter * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.StorSimple8000Series.Models.DimensionFilter -> Microsoft.Azure.Management.StorSimple8000Series.Models.MetricFilter
Public Sub New (category As String, Optional name As MetricNameFilter = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional timeGrain As String = Nothing, Optional dimensions As DimensionFilter = Nothing)

Parameters

category
String

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.

name
MetricNameFilter

Specifies the metric name filter specifying the name of the metric to be filtered on. Only 'Equality' operator is supported for this property.

startTime
Nullable<DateTime>

Specifies the start time of the time range to be queried. Only 'Greater Than Or Equal To' operator is supported for this property.

endTime
Nullable<DateTime>

Specifies the end time of the time range to be queried. Only 'Less Than Or Equal To' operator is supported for this property.

timeGrain
String

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.

dimensions
DimensionFilter

Specifies the source(the dimension) of the metrics to be filtered. Only 'Equality' operator is supported for this property.

Applies to