Share via


MonitorSingleMetricBaseline Class

Definition

The baseline results of a single metric.

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

Properties

Baselines

The baseline for each time series that was queried.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Interval

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.

Name

The name of the resource.

(Inherited from ResourceData)
Namespace

The namespace of the metrics been queried.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<MonitorSingleMetricBaseline>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MonitorSingleMetricBaseline>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitorSingleMetricBaseline>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitorSingleMetricBaseline>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MonitorSingleMetricBaseline>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to