Share via


EventHubsClusterResource.PatchConfigurationAsync Method

Definition

Replace all specified Event Hubs Cluster settings with those contained in the request body. Leaves the settings not specified in the request body unmodified.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/clusters/{clusterName}/quotaConfiguration/default
  • Operation Id: Configuration_Patch
  • Default Api Version: 2024-01-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties>> PatchConfigurationAsync (Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties clusterQuotaConfigurationProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member PatchConfigurationAsync : Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties>>
override this.PatchConfigurationAsync : Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventHubs.Models.ClusterQuotaConfigurationProperties>>
Public Overridable Function PatchConfigurationAsync (clusterQuotaConfigurationProperties As ClusterQuotaConfigurationProperties, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ClusterQuotaConfigurationProperties))

Parameters

clusterQuotaConfigurationProperties
ClusterQuotaConfigurationProperties

Parameters for creating an Event Hubs Cluster resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

clusterQuotaConfigurationProperties is null.

Applies to