Share via


MetricsQueryResult Class

Definition

The response to a metrics query.

public class MetricsQueryResult
type MetricsQueryResult = class
Public Class MetricsQueryResult
Inheritance
MetricsQueryResult

Properties

Cost

The integer value representing the relative cost of the query.

Granularity

The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.

Metrics

Metrics returned as the result of the query.

Namespace

The namespace of the metrics being queried.

ResourceRegion

The region of the resource being queried for metrics.

TimeSpan

The timespan for which the data was retrieved. This may be adjusted in the future and returned back from what was originally requested.

Methods

GetMetricByName(String)

Returns the MetricResult for the name.

Applies to