Compartilhar via


SecurityAlertsSuppressionRuleCollection.GetAsync 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>> GetAsync (string alertsSuppressionRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleResource>>
Public Overridable Function GetAsync (alertsSuppressionRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityAlertsSuppressionRuleResource))

Parâmetros

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