ArmMonitorModelFactory.MonitorSingleMetricBaseline 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 MonitorSingleMetricBaseline.
public static Azure.ResourceManager.Monitor.Models.MonitorSingleMetricBaseline MonitorSingleMetricBaseline (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string timespan = default, TimeSpan interval = default, string namespace = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.MonitorTimeSeriesBaseline> baselines = default);
static member MonitorSingleMetricBaseline : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * TimeSpan * string * seq<Azure.ResourceManager.Monitor.Models.MonitorTimeSeriesBaseline> -> Azure.ResourceManager.Monitor.Models.MonitorSingleMetricBaseline
Public Shared Function MonitorSingleMetricBaseline (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional timespan As String = Nothing, Optional interval As TimeSpan = Nothing, Optional namespace As String = Nothing, Optional baselines As IEnumerable(Of MonitorTimeSeriesBaseline) = Nothing) As MonitorSingleMetricBaseline
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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
- 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.
- namespace
- String
The namespace of the metrics been queried.
- baselines
- IEnumerable<MonitorTimeSeriesBaseline>
The baseline for each time series that was queried.
Returns
A new MonitorSingleMetricBaseline instance for mocking.
Applies to
Azure SDK for .NET