共用方式為


DataBoxEdgeUserCollection.GetAllAsync(String, CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users
  • Operation Id: Users_ListByDataBoxEdgeDevice
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeUserResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeUserResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeUserResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataBoxEdgeUserResource)

Parameters

filter
String

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataBoxEdgeUserResource that may take multiple service requests to iterate over.

Applies to