MetricDefinitionOperationsExtensions.List Method (IMetricDefinitionOperations, String, IList<String>, String)

 

The List Metric Definitions operation lists the metric definitions for the resource.

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

public static MetricDefinitionListResponse List(
	this IMetricDefinitionOperations operations,
	string resourceId,
	IList<string> metricNames,
	string metricNamespace
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations

Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations.

resourceId
Type: System.String

Required. The id of the resource.The resource id can be built using the resource id builder class under utilities

metricNames
Type: System.Collections.Generic.IList<String>

Optional. The names of the metrics.

metricNamespace
Type: System.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

Return Value

Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricDefinitionListResponse

The List Metric Definitions operation response.

Return to top
Show: