TestServerMetricsConfiguration 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 TestServerMetricsConfiguration.
public TestServerMetricsConfiguration(System.Collections.Generic.IDictionary<string,Azure.Developer.LoadTesting.ResourceMetric> metrics);
new Azure.Developer.LoadTesting.TestServerMetricsConfiguration : System.Collections.Generic.IDictionary<string, Azure.Developer.LoadTesting.ResourceMetric> -> Azure.Developer.LoadTesting.TestServerMetricsConfiguration
Public Sub New (metrics As IDictionary(Of String, ResourceMetric))
Parameters
- metrics
- IDictionary<String,ResourceMetric>
Azure resource metrics collection {metric id : metrics object} (Refer : https://learn.microsoft.com/en-us/rest/api/monitor/metric-definitions/list#metricdefinition for metric id).
Exceptions
metrics
is null.