Partager via


VolumesOperationsExtensions.ListByDeviceAsync Méthode

Définition

Récupère tous les volumes d’un appareil.

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

Paramètres

operations
IVolumesOperations

Groupe d’opérations pour cette méthode d’extension.

deviceName
String

Le nom de l’appareil

resourceGroupName
String

Nom du groupe de ressources

managerName
String

Nom du responsable

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à