Compartilhar via


SecurityInsightsAlertRuleResource.GetSecurityInsightsAlertRuleActionAsync Método

Definição

Obtém a ação da regra de alerta.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}
  • IdActions_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>> GetSecurityInsightsAlertRuleActionAsync (string actionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAlertRuleActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
override this.GetSecurityInsightsAlertRuleActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
Public Overridable Function GetSecurityInsightsAlertRuleActionAsync (actionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsAlertRuleActionResource))

Parâmetros

actionId
String

ID da ação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

actionId é nulo.

Aplica-se a