SecurityCenterExtensions.GetSecurityAlertsSuppressionRuleAsync Método

Definição

Obter regra de descarte, com o nome: {alertsSuppressionRuleName}, para a assinatura fornecida

  • Caminho da solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}
  • IdAlertsSuppressionRules_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>> GetSecurityAlertsSuppressionRuleAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string alertsSuppressionRuleName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityAlertsSuppressionRuleAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>>
<Extension()>
Public Function GetSecurityAlertsSuppressionRuleAsync (subscriptionResource As SubscriptionResource, alertsSuppressionRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityAlertsSuppressionRuleResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

alertsSuppressionRuleName
String

O nome exclusivo da regra de alerta de supressão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

alertsSuppressionRuleName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

alertsSuppressionRuleName é nulo.

Aplica-se a