Dela via


UsersOperationsExtensions.ListByDataBoxEdgeDeviceAsync Method

Definition

Gets all the users registered on a Data Box Edge/Data Box Gateway device.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.User>> ListByDataBoxEdgeDeviceAsync (this Microsoft.Azure.Management.DataBoxEdge.IUsersOperations operations, string deviceName, string resourceGroupName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByDataBoxEdgeDeviceAsync : Microsoft.Azure.Management.DataBoxEdge.IUsersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.User>>
<Extension()>
Public Function ListByDataBoxEdgeDeviceAsync (operations As IUsersOperations, deviceName As String, resourceGroupName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of User))

Parameters

operations
IUsersOperations

The operations group for this extension method.

deviceName
String

The device name.

resourceGroupName
String

The resource group name.

filter
String

Specify $filter='Type eq <type>' to filter on user type property

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to