DataBoxEdgeShareCollection.GetAll(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.Pageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeShareResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeShareResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeShareResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataBoxEdgeShareResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to