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

DeviceSecurityGroupsOperationsExtensions.ListAsync Method

Definition

Use this method get the list of device security groups for the specified IoT Hub resource.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.DeviceSecurityGroup>> ListAsync (this Microsoft.Azure.Management.Security.IDeviceSecurityGroupsOperations operations, string resourceId, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Security.IDeviceSecurityGroupsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.DeviceSecurityGroup>>
<Extension()>
Public Function ListAsync (operations As IDeviceSecurityGroupsOperations, resourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DeviceSecurityGroup))

Parameters

operations
IDeviceSecurityGroupsOperations

The operations group for this extension method.

resourceId
String

The identifier of the resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to