Share via


ManagersOperationsExtensions.ListMetricsAsync Method

Definition

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorSimple.Fluent.Models.Metrics>> ListMetricsAsync (this Microsoft.Azure.Management.StorSimple.Fluent.IManagersOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple.Fluent.Models.MetricFilterInner> odataQuery, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ListMetricsAsync : Microsoft.Azure.Management.StorSimple.Fluent.IManagersOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple.Fluent.Models.MetricFilterInner> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorSimple.Fluent.Models.Metrics>>
<Extension()>
Public Function ListMetricsAsync (operations As IManagersOperations, odataQuery As ODataQuery(Of MetricFilterInner), resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Metrics))

Parameters

operations
IManagersOperations
resourceGroupName
String
managerName
String
cancellationToken
CancellationToken

Returns

Applies to