HDInsightClusterResource.GetConfiguration Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GetConfiguration(String, CancellationToken) |
Das Konfigurationsobjekt für den angegebenen Cluster. Diese API wird nicht empfohlen und kann in Zukunft entfernt werden. Verwenden Sie stattdessen die API für Listenkonfigurationen.
|
GetConfiguration(CancellationToken) |
Ruft alle Konfigurationsinformationen für einen HDI-Cluster ab.
|
GetConfiguration(String, CancellationToken)
Das Konfigurationsobjekt für den angegebenen Cluster. Diese API wird nicht empfohlen und kann in Zukunft entfernt werden. Verwenden Sie stattdessen die API für Listenkonfigurationen.
- Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}
- Vorgangs-IdConfigurations_Get
public virtual Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string,string>> GetConfiguration (string configurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfiguration : string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, string>>
override this.GetConfiguration : string * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, string>>
Public Overridable Function GetConfiguration (configurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyDictionary(Of String, String))
Parameter
- configurationName
- String
Der Name der Clusterkonfiguration.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Ausnahmen
configurationName
ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.
configurationName
ist NULL.
Gilt für:
GetConfiguration(CancellationToken)
Ruft alle Konfigurationsinformationen für einen HDI-Cluster ab.
- Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations
- Vorgangs-IdConfigurations_List
public virtual Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations> GetConfiguration (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfiguration : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations>
override this.GetConfiguration : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations>
Public Overridable Function GetConfiguration (Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightClusterConfigurations)
Parameter
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Gilt für:
Azure SDK for .NET