Share via


IMetricValueOperations.ListAsync Method (String, IList<String>, String, TimeSpan, DateTime, DateTime, CancellationToken)

 

The List Metric Value operation lists the metric value sets for the resource metrics.

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

Syntax

Task<MetricValueListResponse> ListAsync(
    string resourceId,
    IList<string> metricNames,
    string metricNamespace,
    TimeSpan timeGrain,
    DateTime startTime,
    DateTime endTime,
    CancellationToken cancellationToken
)
Task<MetricValueListResponse^>^ ListAsync(
    String^ resourceId,
    IList<String^>^ metricNames,
    String^ metricNamespace,
    TimeSpan timeGrain,
    DateTime startTime,
    DateTime endTime,
    CancellationToken cancellationToken
)
abstract ListAsync : 
        resourceId:string *
        metricNames:IList<string> *
        metricNamespace:string *
        timeGrain:TimeSpan *
        startTime:DateTime *
        endTime:DateTime *
        cancellationToken:CancellationToken -> Task<MetricValueListResponse>
Function ListAsync (
    resourceId As String,
    metricNames As IList(Of String),
    metricNamespace As String,
    timeGrain As TimeSpan,
    startTime As Date,
    endTime As Date,
    cancellationToken As CancellationToken
) As Task(Of MetricValueListResponse)

Parameters

  • metricNamespace
    Type: System.String

    The namespace of the metrics.

Return Value

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

The List Metric values operation response.

See Also

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

Return to top