다음을 통해 공유


DataBoxEdgeShareCollection.GetAllAsync(CancellationToken) Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to