Share via


HDInsightClusterResource.UpdateConfiguration Method

Definition

Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}
  • Operation Id: Configurations_Update
  • Default Api Version: 2024-08-01-preview
public virtual Azure.ResourceManager.ArmOperation UpdateConfiguration (Azure.WaitUntil waitUntil, string configurationName, System.Collections.Generic.IDictionary<string,string> clusterConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateConfiguration : Azure.WaitUntil * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.UpdateConfiguration : Azure.WaitUntil * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function UpdateConfiguration (waitUntil As WaitUntil, configurationName As String, clusterConfiguration As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

configurationName
String

The name of the cluster configuration.

clusterConfiguration
IDictionary<String,String>

The cluster configurations.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

configurationName or clusterConfiguration is null.

Applies to