Condividi tramite


HDInsightClusterResource.GetConfiguration Method

Definition

Overloads

GetConfiguration(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
GetConfiguration(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

GetConfiguration(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 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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

GetConfiguration(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 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))

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