ArmImpactReportingModelFactory.ImpactPerformance Method

Definition

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.

expected
Nullable<Double>

Threshold value for the metric.

actual
Nullable<Double>

Observed value for the metric.

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.

Applies to