ArmImpactReportingModelFactory.ImpactPerformance 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.
public static Azure.ResourceManager.ImpactReporting.Models.ImpactPerformance ImpactPerformance(string metricName = default, double? expected = default, double? actual = default, Azure.ResourceManager.ImpactReporting.Models.ImpactMetricExpectedValueRange expectedValueRange = default, Azure.ResourceManager.ImpactReporting.Models.ImpactMetricUnit? unit = default);
static member ImpactPerformance : string * Nullable<double> * Nullable<double> * Azure.ResourceManager.ImpactReporting.Models.ImpactMetricExpectedValueRange * Nullable<Azure.ResourceManager.ImpactReporting.Models.ImpactMetricUnit> -> Azure.ResourceManager.ImpactReporting.Models.ImpactPerformance
Public Shared Function ImpactPerformance (Optional metricName As String = Nothing, Optional expected As Nullable(Of Double) = Nothing, Optional actual As Nullable(Of Double) = Nothing, Optional expectedValueRange As ImpactMetricExpectedValueRange = Nothing, Optional unit As Nullable(Of ImpactMetricUnit) = Nothing) As ImpactPerformance
Parameters
- metricName
- String
Name of the Metric examples: Disk, IOPs, CPU, GPU, Memory, details can be found from /impactCategories API.
- expectedValueRange
- ImpactMetricExpectedValueRange
Max and Min Threshold values for the metric.
- unit
- Nullable<ImpactMetricUnit>
Unit of the metric ex: Bytes, Percentage, Count, Seconds, Milliseconds, Bytes/Second, Count/Second, etc.., Other.
Returns
A new ImpactPerformance instance for mocking.