PredictiveResponse Class

Definition

The response to a metrics query.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.PredictiveResponseTypeConverter))]
public class PredictiveResponse : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IPredictiveResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.PredictiveResponseTypeConverter))>]
type PredictiveResponse = class
    interface IPredictiveResponse
    interface IJsonSerializable
Public Class PredictiveResponse
Implements IPredictiveResponse
Inheritance
PredictiveResponse
Attributes
Implements

Constructors

PredictiveResponse()

Creates an new PredictiveResponse instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PredictiveResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PredictiveResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IPredictiveResponse.

FromJsonString(String)

Creates a new instance of PredictiveResponse, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PredictiveResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to