MetricsQueryResourcesOptions 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 MetricsQueryResourcesOptions
type MetricsQueryResourcesOptions = class
Public Class MetricsQueryResourcesOptions
- Inheritance
-
MetricsQueryResourcesOptions
Constructors
MetricsQueryResourcesOptions() |
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. |
EndTime |
Gets the EndTime of the query. If only the StartTime is set, the EndTime default becomes the current time. When the EndTime is specified, the StartTime is necessary as well. |
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. |
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. |
RollUpBy |
Dimension name(s) to rollup results by. Examples: If you only want to see metric values with a filter like 'City eq Seattle or City eq Tacoma' but don't want to see separate values for each city, you can specify 'RollUpBy=City' to see the results for Seattle and Tacoma rolled up into one timeseries. |
Size |
Gets or sets the maximum number of records to retrieve. Valid only when Filter is specified. Defaults to |
StartTime |
Gets the StartTime of the query. If only the StartTime is set, the EndTime default becomes the current time. When the EndTime is specified, the StartTime is necessary as well. |
Applies to
Azure SDK for .NET