VolumeContainersOperationsExtensions.ListMetricsAsync Method

Definition

Gets the metrics for the specified volume container.

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

Parameters

operations
IVolumeContainersOperations

The operations group for this extension method.

odataQuery
ODataQuery<MetricFilter>

OData parameters to apply to the operation.

deviceName
System.String

The device name

volumeContainerName
System.String

The volume container name.

resourceGroupName
System.String

The resource group name

managerName
System.String

The manager name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Metrics>>

Applies to