SecurityAlertsSuppressionRuleCollection.GetAll Method

Definition

List of all the dismiss rules for the given subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules
  • Operation Id: AlertsSuppressionRules_List
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAlertsSuppressionRuleResource
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource> GetAll (string alertType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>
Public Overridable Function GetAll (Optional alertType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SecurityAlertsSuppressionRuleResource)

Parameters

alertType
String

Type of the alert to get rules for.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to