Partager via


ComponentsOperationsExtensions.GetAsync Méthode

Définition

Retourne un composant Application Insights.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent> GetAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent>
<Extension()>
Public Function GetAsync (operations As IComponentsOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationInsightsComponent)

Paramètres

operations
IComponentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à