Language

MockableSecurityInsightsArmClient.GetSecurityInsightsIncident Method

Definition

Gets a given incident.

public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource> GetSecurityInsightsIncident(Azure.Core.ResourceIdentifier scope, string incidentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsIncident : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>
override this.GetSecurityInsightsIncident : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentResource>
Public Overridable Function GetSecurityInsightsIncident (scope As ResourceIdentifier, incidentId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsIncidentResource)

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

incidentId
String

Incident ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

incidentId is null.

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

Applies to