MockableSecurityInsightsArmClient.GetSecurityInsightsEntityRelation Method

Definition

Gets an entity relation.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

relationName
String

Relation Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

relationName is null.

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

Applies to