Udostępnij za pośrednictwem


MockableAlertsManagementSubscriptionResource.GetAlertProcessingRules Method

Definition

List all alert processing rules in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
  • Operation Id: AlertProcessingRules_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource> GetAlertProcessingRules (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertProcessingRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
override this.GetAlertProcessingRules : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AlertsManagement.AlertProcessingRuleResource>
Public Overridable Function GetAlertProcessingRules (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