MetricDimension(String, String, IEnumerable<String>) Constructor

Definition

Initializes a new instance of MetricDimension.

public MetricDimension (string name, string operator, System.Collections.Generic.IEnumerable<string> values);
new Azure.ResourceManager.Monitor.Models.MetricDimension : string * string * seq<string> -> Azure.ResourceManager.Monitor.Models.MetricDimension
Public Sub New (name As String, operator As String, values As IEnumerable(Of String))

Parameters

name
String

Name of the dimension.

operator
String

the dimension operator. Only 'Include' and 'Exclude' are supported.

values
IEnumerable<String>

list of dimension values.

Exceptions

name, operator or values is null.

Applies to