共用方式為


SecurityInsightsIncidentCommentCollection.Get Method

Definition

Gets a comment for a given incident.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}
  • Operation Id: IncidentComments_Get
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource> Get (string incidentCommentId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentCommentResource>
Public Overridable Function Get (incidentCommentId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsIncidentCommentResource)

Parameters

incidentCommentId
String

Incident comment ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

incidentCommentId is an empty string, and was expected to be non-empty.

incidentCommentId is null.

Applies to