VolumeContainersOperationsExtensions.ListByDeviceAsync Method

Definition

Gets all the volume containers in a device.

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

Parameters

operations
IVolumeContainersOperations

The operations group for this extension method.

deviceName
System.String

The device 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<VolumeContainer>>

Applies to