Partager via


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsIncidentAsync Méthode

Définition

Obtient un incident donné.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}
  • IdIncidents_Get d’opération
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))

Paramètres

incidentId
String

ID d’incident.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

incidentId est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

incidentId a la valeur null.

S’applique à