SecurityInsightsExtensions.GetSecurityInsightsIncidentRelation Method

Definition

Gets a relation for a given incident. <item> Mocking. To mock this method, please mock GetSecurityInsightsIncidentRelation(ResourceIdentifier, String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentRelationResource> GetSecurityInsightsIncidentRelation(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string relationName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityInsightsIncidentRelation : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsIncidentRelationResource>
<Extension()>
Public Function GetSecurityInsightsIncidentRelation (client As ArmClient, scope As ResourceIdentifier, relationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsIncidentRelationResource)

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

relationName
String

Relation Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to