MetricsQueryOptions 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.
public class MetricsQueryOptions
type MetricsQueryOptions = class
Public Class MetricsQueryOptions
- Inheritance
-
MetricsQueryOptions
Constructors
MetricsQueryOptions() |
Properties
Aggregations |
Gets the list of metric aggregations to retrieve. Although this collection cannot be set, it can be modified. See Object initializers with collection read-only property initialization. |
Filter |
Gets or sets the filter that is used to refine the set of metric data returned.
MetricResult contains metadata A, B, and C. |
Granularity |
Gets or sets the interval at which to sample metrics. |
MetricNamespace |
Gets or sets the metric namespace to query. For a list of valid namespaces by Azure resource, see Metrics by resource provider. |
OrderBy |
Gets or sets the aggregation to use for sorting results and the direction of the sort. Only one order can be specified. Examples: sum asc. |
Size |
Gets or sets the maximum number of records to retrieve. Valid only when Filter is specified. Defaults to |
TimeRange |
Gets or sets the timespan over which the metric will be queried. |
Applies to
Azure SDK for .NET