Compartir a través de


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAlertRuleTemplate Método

Definición

Obtiene la plantilla de regla de alertas.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}
  • IdAlertRuleTemplates_Get de operaciones
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. de plantilla de regla de alerta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

alertRuleTemplateId es una cadena vacía y se esperaba que no estuviera vacía.

alertRuleTemplateId es null.

Se aplica a