共用方式為


HDInsightClusterResource.UpdateGatewaySettingsAsync Method

Definition

Configures the gateway settings on the specified cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings
  • Operation Id: Clusters_UpdateGatewaySettings
  • Default Api Version: 2024-08-01-preview
  • Resource: HDInsightClusterResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> UpdateGatewaySettingsAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.HDInsight.Models.HDInsightClusterUpdateGatewaySettingsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateGatewaySettingsAsync : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Models.HDInsightClusterUpdateGatewaySettingsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.UpdateGatewaySettingsAsync : Azure.WaitUntil * Azure.ResourceManager.HDInsight.Models.HDInsightClusterUpdateGatewaySettingsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function UpdateGatewaySettingsAsync (waitUntil As WaitUntil, content As HDInsightClusterUpdateGatewaySettingsContent, 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.

content
HDInsightClusterUpdateGatewaySettingsContent

The cluster configurations.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to