AlertProcessingRuleCollection.GetAll(CancellationToken) Method

Definition

List all alert processing rules in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules
  • Operation Id: AlertProcessingRules_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AlertProcessingRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to