RecommendedActionMetricInfo Class

Definition

Contains time series of various impacted metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action.

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

Properties

MetricName

Gets the name of the metric. e.g., CPU, Number of Queries.

StartOn

Gets the start time of time interval given by this MetricInfo.

TimeGrain

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour).

Unit

Gets the unit in which metric is measured. e.g., DTU, Frequency.

Value

Gets the value of the metric in the time interval given by this MetricInfo.

Explicit Interface Implementations

IJsonModel<RecommendedActionMetricInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RecommendedActionMetricInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RecommendedActionMetricInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RecommendedActionMetricInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RecommendedActionMetricInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to