SecurityAlertsSuppressionRuleCollection.GetAllAsync 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.
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource> GetAllAsync(string alertType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>
Public Overridable Function GetAllAsync (Optional alertType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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