Partilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAlertRuleTemplateAsync Método

Definição

Obtém o modelo de regra de alerta.

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

Parâmetros

alertRuleTemplateId
String

ID do modelo de regra de alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

alertRuleTemplateId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

alertRuleTemplateId é nulo.

Aplica-se a