Compartilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAlertRuleTemplate 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 Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleTemplateResource> GetSecurityInsightsAlertRuleTemplate (string alertRuleTemplateId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAlertRuleTemplate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleTemplateResource>
override this.GetSecurityInsightsAlertRuleTemplate : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleTemplateResource>
Public Overridable Function GetSecurityInsightsAlertRuleTemplate (alertRuleTemplateId As String, Optional cancellationToken As CancellationToken = Nothing) As 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 era esperado que não estivesse vazio.

alertRuleTemplateId é nulo.

Aplica-se a