Partilhar via


SecurityInsightsIncidentCollection.GetAsync(String, CancellationToken) 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}
  • IdIncidents_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>> GetAsync (string incidentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

incidentId é nulo.

Aplica-se a