Compartilhar via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsIncidentAsync Método

Definição

Obtém um determinado incidente.

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

Parâmetros

incidentId
String

ID do incidente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

incidentId é nulo.

Aplica-se a