Share via


CostManagementAlertCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the alerts for scope defined.

  • Request Path: /{scope}/providers/Microsoft.CostManagement/alerts
  • Operation Id: Alerts_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementAlertResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementAlertResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CostManagement.CostManagementAlertResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CostManagementAlertResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to