Aracılığıyla paylaş


CostManagementAlertCollection.GetAll(CancellationToken) Method

Definition

Lists the alerts for scope defined.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to