ResourceMetric(ResourceIdentifier, String, String, String, String) Constructor
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 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.