Partager via


SecurityInsightsIncidentCommentCollection.GetAsync Méthode

Définition

Obtient un commentaire pour un incident donné.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}
  • IdIncidentComments_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>> GetAsync (string incidentCommentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>>
Public Overridable Function GetAsync (incidentCommentId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsIncidentCommentResource))

Paramètres

incidentCommentId
String

ID de commentaire d’incident.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

incidentCommentId est une chaîne vide et devait être non vide.

incidentCommentId a la valeur null.

S’applique à