Share via


PassFailServerMetric Constructor

Definition

Initializes a new instance of PassFailServerMetric.

public PassFailServerMetric(Azure.Core.ResourceIdentifier resourceId, string metricNamespace, string metricName, string aggregation, string condition, double value);
new Azure.Developer.LoadTesting.PassFailServerMetric : Azure.Core.ResourceIdentifier * string * string * string * string * double -> Azure.Developer.LoadTesting.PassFailServerMetric
Public Sub New (resourceId As ResourceIdentifier, metricNamespace As String, metricName As String, aggregation As String, condition As String, value As Double)

Parameters

resourceId
ResourceIdentifier

The resource id of the resource emitting the metric.

metricNamespace
String

The server metric namespace.

metricName
String

The server metric name.

aggregation
String

Aggregation Type.

condition
String

The comparison operator. Supported types ‘>’, ‘<’.

value
Double

The value to compare with the server metric.

Exceptions

resourceId, metricNamespace, metricName, aggregation or condition is null.

Applies to