Share via


ConfigurationOperationsExtensions.PatchAsync 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.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.ClusterQuotaConfigurationProperties> PatchAsync (this Microsoft.Azure.Management.EventHub.IConfigurationOperations operations, string resourceGroupName, string clusterName, System.Collections.Generic.IDictionary<string,string> settings = default, System.Threading.CancellationToken cancellationToken = default);
static member PatchAsync : Microsoft.Azure.Management.EventHub.IConfigurationOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.ClusterQuotaConfigurationProperties>
<Extension()>
Public Function PatchAsync (operations As IConfigurationOperations, resourceGroupName As String, clusterName As String, Optional settings As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClusterQuotaConfigurationProperties)

Parameters

operations
IConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

clusterName
String

The name of the Event Hubs Cluster.

settings
IDictionary<String,String>

All possible Cluster settings - a collection of key/value paired settings which apply to quotas and configurations imposed on the cluster.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to