你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VolumeContainersOperationsExtensions.ListByDeviceAsync 方法

定义

获取设备中的所有卷容器。

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))

参数

operations
IVolumeContainersOperations

此扩展方法的操作组。

deviceName
String

设备名

resourceGroupName
String

资源组名称

managerName
String

经理姓名

cancellationToken
CancellationToken

取消标记。

返回

适用于