WorkloadImpactResource.GetImpactInsight(String, CancellationToken) Method

Definition

Get Insight resources by workloadImpactName and insightName.

public virtual Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactInsightResource> GetImpactInsight(string insightName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImpactInsight : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactInsightResource>
override this.GetImpactInsight : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ImpactReporting.ImpactInsightResource>
Public Overridable Function GetImpactInsight (insightName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ImpactInsightResource)

Parameters

insightName
String

Name of the insight.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

insightName is null.

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

Applies to