Partager via


HDInsightClusterCollection Classe

Définition

Classe représentant une collection de HDInsightClusterResource et leurs opérations. Chacun HDInsightClusterResource de la collection appartient au même instance de HDInsightClusterPoolResource. Pour obtenir un HDInsightClusterCollection instance appelez la méthode GetHDInsightClusters à partir d’un instance de HDInsightClusterPoolResource.

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

Constructeurs

HDInsightClusterCollection()

Initialise une nouvelle instance de la classe pour la HDInsightClusterCollection 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, HDInsightClusterData, CancellationToken)

Crée un cluster.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_Create d’opération
CreateOrUpdateAsync(WaitUntil, String, HDInsightClusterData, CancellationToken)

Crée un cluster.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_Create d’opération
Exists(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_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.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_Get d’opération
Get(String, CancellationToken)

Obtient un cluster HDInsight.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_Get d’opération
GetAll(CancellationToken)

Répertorie les pools de clusters HDInsight sous un groupe de ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters
  • IdClusters_ListByClusterPoolName d’opération
GetAllAsync(CancellationToken)

Répertorie les pools de clusters HDInsight sous un groupe de ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters
  • IdClusters_ListByClusterPoolName d’opération
GetAsync(String, CancellationToken)

Obtient un cluster HDInsight.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • IdClusters_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<HDInsightClusterResource>.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<HDInsightClusterResource>.GetEnumerator()

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

S’applique à