SecurityAlertsSuppressionRuleCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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
An async collection of SecurityAlertsSuppressionRuleResource that may take multiple service requests to iterate over.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET