Condividi tramite


HDInsightClusterResource.UpdateConfigurationAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> UpdateConfigurationAsync (Azure.WaitUntil waitUntil, string configurationName, System.Collections.Generic.IDictionary<string,string> clusterConfiguration, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateConfigurationAsync : Azure.WaitUntil * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.UpdateConfigurationAsync : Azure.WaitUntil * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function UpdateConfigurationAsync (waitUntil As WaitUntil, configurationName As String, clusterConfiguration As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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