Partilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAutomationRule 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 Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource> GetSecurityInsightsAutomationRule (string automationRuleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAutomationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
override this.GetSecurityInsightsAutomationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
Public Overridable Function GetSecurityInsightsAutomationRule (automationRuleId As String, Optional cancellationToken As CancellationToken = Nothing) As 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