/// <summary> /// Modifies mutable properties on the Event Hubs Cluster. This operation is /// idempotent. /// </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'> /// The properties of the Event Hubs Cluster which should be updated. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Cluster> BeginPatchAsync(this IClustersOperations operations, string resourceGroupName, string clusterName, Cluster parameters, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginPatchWithHttpMessagesAsync(resourceGroupName, clusterName, parameters, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }