Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public static MetricDefinitionListResponse List(
this IMetricDefinitionOperations operations,
string resourceId,
IList<string> metricNames,
string metricNamespace
)
public:
[ExtensionAttribute]
static MetricDefinitionListResponse^ List(
IMetricDefinitionOperations^ operations,
String^ resourceId,
IList<String^>^ metricNames,
String^ metricNamespace
)
static member List :
operations:IMetricDefinitionOperations *
resourceId:string *
metricNames:IList<string> *
metricNamespace:string -> MetricDefinitionListResponse
<ExtensionAttribute>
Public Shared Function List (
operations As IMetricDefinitionOperations,
resourceId As String,
metricNames As IList(Of String),
metricNamespace As String
) As MetricDefinitionListResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperationsReference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricDefinitionOperations.
resourceId
Type: System.StringRequired. 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.StringOptional. 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.
See Also
MetricDefinitionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace
Return to top