/// <summary> /// Replace all specified Event Hubs Cluster settings with those contained in /// the request body. Leaves the settings not specified in the request body /// unmodified. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group within the azure subscription. /// </param> /// <param name='clusterName'> /// The name of the Event Hubs Cluster. /// </param> /// <param name='settings'> /// All possible Cluster settings - a collection of key/value paired settings /// which apply to quotas and configurations imposed on the cluster. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ClusterQuotaConfigurationProperties> PatchAsync(this IConfigurationOperations operations, string resourceGroupName, string clusterName, IDictionary <string, string> settings = default(IDictionary <string, string>), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PatchWithHttpMessagesAsync(resourceGroupName, clusterName, settings, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }