Partilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAlertRule Método

Definição

Obtém a regra de alerta.

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

Parâmetros

ruleId
String

ID da regra de alerta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

ruleId é nulo.

Aplica-se a