MetricDefinitionOperationsExtensions.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.
The List Metric Definitions operation lists the metric definitions for the resource.
public static Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricDefinitionListResponse List (this Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations operations, string resourceId, System.Collections.Generic.IList<string> metricNames, string metricNamespace);
static member List : Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations * string * System.Collections.Generic.IList<string> * string -> Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricDefinitionListResponse
<Extension()>
Public Function List (operations As IMetricDefinitionOperations, resourceId As String, metricNames As IList(Of String), metricNamespace As String) As MetricDefinitionListResponse
Parameters
- operations
- IMetricDefinitionOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations.
- resourceId
- String
Required. The id of the resource.The resource id can be built using the resource id builder class under utilities
- metricNamespace
- String
Optional. The namespace of the metrics.The value is either null or WindowsAzure.Availability.WindowsAzure.Availability returns the metric definitions for endpoint monitoring metrics
Returns
The List Metric Definitions operation response.
Applies to
Azure SDK for .NET