Share via


AutoscaleSettingPredicativeResult Class

Definition

The response to a metrics query.

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

Properties

Data

the value of the collection.

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.

MetricName

The metrics being queried.

TargetResourceId

resource of the predictive metric.

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.

Explicit Interface Implementations

IJsonModel<AutoscaleSettingPredicativeResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutoscaleSettingPredicativeResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleSettingPredicativeResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleSettingPredicativeResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutoscaleSettingPredicativeResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to