Freigeben über


HDInsightClusterCollection Klasse

Definition

Eine Klasse, die eine Auflistung von HDInsightClusterResource und deren Vorgänge darstellt. Jedes HDInsightClusterResource in der Auflistung gehört zum gleichen instance von HDInsightClusterPoolResource. Um einen HDInsightClusterCollection instance rufen Sie die GetHDInsightClusters-Methode aus einer instance von aufHDInsightClusterPoolResource.

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)
Vererbung
HDInsightClusterCollection
Implementiert

Konstruktoren

HDInsightClusterCollection()

Initialisiert eine neue instance der HDInsightClusterCollection -Klasse zum Mocking.

Eigenschaften

Client

Ruft die Ressource ab, aus ArmClient der dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, HDInsightClusterData, CancellationToken)

Erstellt einen Cluster.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Create
CreateOrUpdateAsync(WaitUntil, String, HDInsightClusterData, CancellationToken)

Erstellt einen Cluster.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Create
Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Get
Get(String, CancellationToken)

Ruft einen HDInsight-Cluster ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Get
GetAll(CancellationToken)

Listet die HDInsight-Clusterpools unter einer Ressourcengruppe auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters
  • Vorgang IdClusters_ListByClusterPoolName
GetAllAsync(CancellationToken)

Listet die HDInsight-Clusterpools unter einer Ressourcengruppe auf.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters
  • Vorgang IdClusters_ListByClusterPoolName
GetAsync(String, CancellationToken)

Ruft einen HDInsight-Cluster ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusterpools/{clusterPoolName}/clusters/{clusterName}
  • Vorgang IdClusters_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<HDInsightClusterResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<HDInsightClusterResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: