Lingua

MonitorMetricsResult Class

Definition

The response to a metrics query.

public class MonitorMetricsResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.MonitorMetricsResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.MonitorMetricsResult>
type MonitorMetricsResult = class
    interface IJsonModel<MonitorMetricsResult>
    interface IPersistableModel<MonitorMetricsResult>
Public Class MonitorMetricsResult
Implements IJsonModel(Of MonitorMetricsResult), IPersistableModel(Of MonitorMetricsResult)
Inheritance
MonitorMetricsResult
Implements

Properties

Name Description
Cost

The integer value representing the relative cost of the query.

Interval

The interval (window size) for which the metric data was returned in ISO 8601 duration format with a special case for 'FULL' value that returns single datapoint for entire time span requested (Examples: PT15M, PT1H, P1D, FULL). This may be adjusted and different from what was originally requested if AutoAdjustTimegrain=true is specified. This is not present if a metadata request was made.

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. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.

Value

The value of the collection.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MonitorMetricsResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MonitorMetricsResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MonitorMetricsResult>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MonitorMetricsResult>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MonitorMetricsResult>.Write(ModelReaderWriterOptions)

Applies to