Condividi tramite


ArmMonitorModelFactory.AutoscaleSettingPredicativeResult Method

Definition

Initializes a new instance of AutoscaleSettingPredicativeResult.

public static Azure.ResourceManager.Monitor.Models.AutoscaleSettingPredicativeResult AutoscaleSettingPredicativeResult(string timespan = default, TimeSpan? interval = default, string metricName = default, Azure.Core.ResourceIdentifier targetResourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.PredictiveValue> data = default);
static member AutoscaleSettingPredicativeResult : string * Nullable<TimeSpan> * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Monitor.Models.PredictiveValue> -> Azure.ResourceManager.Monitor.Models.AutoscaleSettingPredicativeResult
Public Shared Function AutoscaleSettingPredicativeResult (Optional timespan As String = Nothing, Optional interval As Nullable(Of TimeSpan) = Nothing, Optional metricName As String = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional data As IEnumerable(Of PredictiveValue) = Nothing) As AutoscaleSettingPredicativeResult

Parameters

timespan
String

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.

interval
Nullable<TimeSpan>

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
String

The metrics being queried.

targetResourceId
ResourceIdentifier

resource of the predictive metric.

data
IEnumerable<PredictiveValue>

the value of the collection.

Returns

A new AutoscaleSettingPredicativeResult instance for mocking.

Applies to