Delen via


MetricDefinitionsOperationsExtensions.List Method

Definition

Lists the metric definitions for the resource.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.MetricDefinition> List (this Microsoft.Azure.Management.Monitor.IMetricDefinitionsOperations operations, string resourceUri, string metricnamespace = default);
static member List : Microsoft.Azure.Management.Monitor.IMetricDefinitionsOperations * string * string -> seq<Microsoft.Azure.Management.Monitor.Models.MetricDefinition>
<Extension()>
Public Function List (operations As IMetricDefinitionsOperations, resourceUri As String, Optional metricnamespace As String = Nothing) As IEnumerable(Of MetricDefinition)

Parameters

operations
IMetricDefinitionsOperations

The operations group for this extension method.

resourceUri
String

The identifier of the resource.

metricnamespace
String

Metric namespace to query metric definitions for.

Returns

Applies to