Share via


ResourceMetric(ResourceIdentifier, String, String, String, String) Constructor

Definition

Initializes a new instance of ResourceMetric.

public ResourceMetric(Azure.Core.ResourceIdentifier resourceId, string metricNamespace, string name, string aggregation, string resourceType);
new Azure.Developer.LoadTesting.ResourceMetric : Azure.Core.ResourceIdentifier * string * string * string * string -> Azure.Developer.LoadTesting.ResourceMetric
Public Sub New (resourceId As ResourceIdentifier, metricNamespace As String, name As String, aggregation As String, resourceType As String)

Parameters

resourceId
ResourceIdentifier

Azure resource id.

metricNamespace
String

Metric name space.

name
String

The invariant value of metric name.

aggregation
String

Metric aggregation.

resourceType
String

Azure resource type.

Exceptions

resourceId, metricNamespace, name, aggregation or resourceType is null.

Applies to