ArmMonitorModelFactory.AutoscaleSettingPredicativeResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.