Partager via


ApplicationInsightsComponentCollection Classe

Définition

Classe représentant une collection de ApplicationInsightsComponentResource et leurs opérations. Chacun ApplicationInsightsComponentResource de la collection appartient au même instance de ResourceGroupResource. Pour obtenir un ApplicationInsightsComponentCollection instance appelez la méthode GetApplicationInsightsComponents à partir d’un instance de ResourceGroupResource.

public class ApplicationInsightsComponentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>
type ApplicationInsightsComponentCollection = class
    inherit ArmCollection
    interface seq<ApplicationInsightsComponentResource>
    interface IEnumerable
    interface IAsyncEnumerable<ApplicationInsightsComponentResource>
Public Class ApplicationInsightsComponentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ApplicationInsightsComponentResource), IEnumerable(Of ApplicationInsightsComponentResource)
Héritage
ApplicationInsightsComponentCollection
Implémente

Constructeurs

ApplicationInsightsComponentCollection()

Initialise une nouvelle instance de la classe pour la ApplicationInsightsComponentCollection simulation.

Propriétés

Client

Obtient le ArmClient à partir duquel ce client de ressource a été créé.

(Hérité de ArmCollection)
Diagnostics

Obtient les options de diagnostic pour ce client de ressources.

(Hérité de ArmCollection)
Endpoint

Obtient l’URI de base pour ce client de ressource.

(Hérité de ArmCollection)
Id

Obtient l’identificateur de ressource.

(Hérité de ArmCollection)
Pipeline

Obtient le pipeline pour ce client de ressource.

(Hérité de ArmCollection)

Méthodes

CreateOrUpdate(WaitUntil, String, ApplicationInsightsComponentData, CancellationToken)

Crée (ou met à jour) un composant Application Insights. Remarque : vous ne pouvez pas spécifier une valeur différente pour InstrumentationKey ou AppId dans l’opération Put.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_CreateOrUpdate d’opération
CreateOrUpdateAsync(WaitUntil, String, ApplicationInsightsComponentData, CancellationToken)

Crée (ou met à jour) un composant Application Insights. Remarque : vous ne pouvez pas spécifier une valeur différente pour InstrumentationKey ou AppId dans l’opération Put.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_CreateOrUpdate d’opération
Exists(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_Get d’opération
ExistsAsync(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_Get d’opération
Get(String, CancellationToken)

Retourne un composant Application Insights.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_Get d’opération
GetAll(CancellationToken)

Obtient une liste des composants Application Insights au sein d’un groupe de ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components
  • IdComponents_ListByResourceGroup d’opération
GetAllAsync(CancellationToken)

Obtient une liste des composants Application Insights au sein d’un groupe de ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components
  • IdComponents_ListByResourceGroup d’opération
GetAsync(String, CancellationToken)

Retourne un composant Application Insights.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_Get d’opération
TryGetApiVersion(ResourceType, String)

Obtient le remplacement de version de l’API s’il a été défini pour les options client actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<ApplicationInsightsComponentResource>.GetAsyncEnumerator(CancellationToken)

Retourne un énumérateur qui boucle de façon asynchrone dans la collection.

IEnumerable.GetEnumerator()

Retourne un énumérateur qui itère au sein d’une collection.

IEnumerable<ApplicationInsightsComponentResource>.GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection.

S’applique à