/// <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);
     }
 }
 /// <summary>
 /// Get all Event Hubs Cluster settings - a collection of key/value pairs which
 /// represent the quotas and settings imposed on the cluster.
 /// </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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ClusterQuotaConfigurationProperties> GetAsync(this IConfigurationOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get all Event Hubs Cluster settings - a collection of key/value pairs which
 /// represent the quotas and settings imposed on the cluster.
 /// </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>
 public static ClusterQuotaConfigurationProperties Get(this IConfigurationOperations operations, string resourceGroupName, string clusterName)
 {
     return(operations.GetAsync(resourceGroupName, clusterName).GetAwaiter().GetResult());
 }
 /// <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>
 public static ClusterQuotaConfigurationProperties Patch(this IConfigurationOperations operations, string resourceGroupName, string clusterName, IDictionary <string, string> settings = default(IDictionary <string, string>))
 {
     return(operations.PatchAsync(resourceGroupName, clusterName, settings).GetAwaiter().GetResult());
 }
 /// <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='parameters'>
 /// Parameters for creating an Event Hubs Cluster resource.
 /// </param>
 public static ClusterQuotaConfigurationProperties Patch(this IConfigurationOperations operations, string resourceGroupName, string clusterName, ClusterQuotaConfigurationProperties parameters)
 {
     return(operations.PatchAsync(resourceGroupName, clusterName, parameters).GetAwaiter().GetResult());
 }