Partager via


ContainerServiceAgentPoolCollection Classe

Définition

Classe représentant une collection de ContainerServiceAgentPoolResource et leurs opérations. Chacun ContainerServiceAgentPoolResource de la collection appartient au même instance de ContainerServiceManagedClusterResource. Pour obtenir un ContainerServiceAgentPoolCollection instance appelez la méthode GetContainerServiceAgentPools à partir d’un instance de ContainerServiceManagedClusterResource.

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

Constructeurs

ContainerServiceAgentPoolCollection()

Initialise une nouvelle instance de la ContainerServiceAgentPoolCollection classe pour les moqueries.

Propriétés

Client

Obtient le ArmClient client de ressource à partir duquel il 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 ressources.

(Hérité de ArmCollection)

Méthodes

CreateOrUpdate(WaitUntil, String, ContainerServiceAgentPoolData, CancellationToken)

Crée ou met à jour un pool d’agents dans le cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_CreateOrUpdate d’opération
CreateOrUpdateAsync(WaitUntil, String, ContainerServiceAgentPoolData, CancellationToken)

Crée ou met à jour un pool d’agents dans le cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_CreateOrUpdate d’opération
Exists(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_Get d’opération
ExistsAsync(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_Get d’opération
Get(String, CancellationToken)

Obtient le pool d’agents de cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_Get d’opération
GetAll(CancellationToken)

Obtient la liste des pools d’agents dans le cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools
  • IdAgentPools_List d’opération
GetAllAsync(CancellationToken)

Obtient la liste des pools d’agents dans le cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools
  • IdAgentPools_List d’opération
GetAsync(String, CancellationToken)

Obtient le pool d’agents de cluster managé spécifié.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
  • IdAgentPools_Get d’opération
TryGetApiVersion(ResourceType, String)

Obtient la substitution de version de l’API si elle a été définie pour les options clientes actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<ContainerServiceAgentPoolResource>.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<ContainerServiceAgentPoolResource>.GetEnumerator()

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

S’applique à