Udostępnij za pośrednictwem


MetricDefinitionOperationsExtensions.List Method

Definition

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

metricNames
IList<String>

Optional. The names of the metrics.

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