共用方式為


DataBoxEdgeRoleCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the roles configured in a Data Box Edge/Data Box Gateway device.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to