HDInsightClusterResource.GetConfigurationAsync 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
GetConfigurationAsync(CancellationToken) |
Ruft alle Konfigurationsinformationen für einen HDI-Cluster ab.
|
GetConfigurationAsync(String, CancellationToken) |
Das Konfigurationsobjekt für den angegebenen Cluster. Diese API wird nicht empfohlen und kann in Zukunft entfernt werden. Erwägen Sie stattdessen die Verwendung der API für Listenkonfigurationen.
|
GetConfigurationAsync(CancellationToken)
Ruft alle Konfigurationsinformationen für einen HDI-Cluster ab.
- Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations
- Vorgang IdConfigurations_List
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations>> GetConfigurationAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations>>
override this.GetConfigurationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightClusterConfigurations>>
Public Overridable Function GetConfigurationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightClusterConfigurations))
Parameter
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Gilt für:
GetConfigurationAsync(String, CancellationToken)
Das Konfigurationsobjekt für den angegebenen Cluster. Diese API wird nicht empfohlen und kann in Zukunft entfernt werden. Erwägen Sie stattdessen die Verwendung der API für Listenkonfigurationen.
- Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}
- Vorgang IdConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string,string>>> GetConfigurationAsync (string configurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, string>>>
override this.GetConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyDictionary<string, string>>>
Public Overridable Function GetConfigurationAsync (configurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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:
Azure SDK for .NET