MockableSecurityInsightsArmClient.GetSecurityInsightsThreatIntelligenceIndicatorAsync Method

Definition

View a threat intelligence indicator by name.

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

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

name
String

Threat intelligence indicator name field.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

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

Applies to