Share via


HDInsightClusterResource.GetConfigurationAsync Method

Definition

Overloads

GetConfigurationAsync(CancellationToken)

Gets all configuration information for an HDI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations
  • Operation Id: Configurations_List
  • Default Api Version: 2024-08-01-preview
GetConfigurationAsync(String, CancellationToken)

The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2024-08-01-preview

GetConfigurationAsync(CancellationToken)

Source:
HDInsightClusterResource.cs
Source:
HDInsightClusterResource.cs

Gets all configuration information for an HDI cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations
  • Operation Id: Configurations_List
  • Default Api Version: 2024-08-01-preview
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))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetConfigurationAsync(String, CancellationToken)

Source:
HDInsightClusterResource.cs
Source:
HDInsightClusterResource.cs

The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}
  • Operation Id: Configurations_Get
  • Default Api Version: 2024-08-01-preview
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)))

Parameters

configurationName
String

The name of the cluster configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

configurationName is an empty string, and was expected to be non-empty.

configurationName is null.

Applies to