Condividi tramite


DataBoxEdgeAlertCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all the alerts for a Data Box Edge/Data Box Gateway device.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to