Freigeben über


VolumesOperationsExtensions.ListMetricsAsync Methode

Definition

Ruft die Metriken für das angegebene Volume ab.

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

Parameter

operations
IVolumesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

odataQuery
ODataQuery<MetricFilter>

OData-Parameter, die auf den Vorgang angewendet werden sollen.

deviceName
String

Der Gerätename

volumeContainerName
String

Der Volumecontainername.

volumeName
String

Der Volumename.

resourceGroupName
String

Der Name der Ressourcengruppe

managerName
String

Der Managername

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: