Partilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAutomationRuleAsync Método

Definição

Obtém a regra de automação.

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

Parâmetros

automationRuleId
String

ID da regra de automação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

automationRuleId é nulo.

Aplica-se a