Share via


EventHubsClusterResource.UpdateAsync Method

Definition

Modifies mutable properties on the Event Hubs Cluster. This operation is idempotent.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}
  • Operation Id: Clusters_Update
  • Default Api Version: 2024-01-01
  • Resource: EventHubsClusterResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.EventHubsClusterResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.EventHubs.EventHubsClusterData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.EventHubs.EventHubsClusterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.EventHubsClusterResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.EventHubs.EventHubsClusterData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EventHubs.EventHubsClusterResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As EventHubsClusterData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of EventHubsClusterResource))

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.

data
EventHubsClusterData

The properties of the Event Hubs Cluster which should be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to