Partager via


ApplicationInsightsComponentCollection.Get(String, CancellationToken) Méthode

Définition

Retourne un composant Application Insights.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource> Get (string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
Public Overridable Function Get (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApplicationInsightsComponentResource)

Paramètres

resourceName
String

Nom de la ressource du composant Application Insights.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

resourceName est une chaîne vide et devait être non vide.

resourceName a la valeur null.

S’applique à