Share via


IMetricSettingOperations.ListAsync Method (String, String, CancellationToken)

 

The List Metric Settings operation lists the metric settings for the resource.

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

Syntax

Task<MetricSettingListResponse> ListAsync(
    string resourceId,
    string metricNamespace,
    CancellationToken cancellationToken
)
Task<MetricSettingListResponse^>^ ListAsync(
    String^ resourceId,
    String^ metricNamespace,
    CancellationToken cancellationToken
)
abstract ListAsync : 
        resourceId:string *
        metricNamespace:string *
        cancellationToken:CancellationToken -> Task<MetricSettingListResponse>
Function ListAsync (
    resourceId As String,
    metricNamespace As String,
    cancellationToken As CancellationToken
) As Task(Of MetricSettingListResponse)

Parameters

  • metricNamespace
    Type: System.String

    The namespace of the metrics.

Return Value

Type: System.Threading.Tasks.Task<MetricSettingListResponse>

The list metric settings operation response.

See Also

IMetricSettingOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace

Return to top