MetricDefinitionsOperationsExtensions.List Method
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.
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.