你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AlertsSuppressionRulesOperationsExtensions.ListAsync 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
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.AlertsSuppressionRule>> ListAsync (this Microsoft.Azure.Management.Security.IAlertsSuppressionRulesOperations operations, string alertType = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Security.IAlertsSuppressionRulesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Security.Models.AlertsSuppressionRule>>
<Extension()>
Public Function ListAsync (operations As IAlertsSuppressionRulesOperations, Optional alertType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of AlertsSuppressionRule))
Parameters
- operations
- IAlertsSuppressionRulesOperations
The operations group for this extension method.
- alertType
- String
Type of the alert to get rules for
- cancellationToken
- CancellationToken
The cancellation token.