/// <summary>
 /// Updates an Experiment by Experiment id
 /// </summary>
 /// <remarks>
 /// Updates an Experiment
 /// </remarks>
 /// <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='profileName'>
 /// The Profile identifier associated with the Tenant and Partner
 /// </param>
 /// <param name='experimentName'>
 /// The Experiment identifier associated with the Experiment
 /// </param>
 /// <param name='parameters'>
 /// The Experiment Update Model
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Experiment> BeginUpdateAsync(this IExperimentsOperations operations, string resourceGroupName, string profileName, string experimentName, ExperimentUpdateModel parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, profileName, experimentName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Updates an Experiment by Experiment id
 /// </summary>
 /// <remarks>
 /// Updates an Experiment
 /// </remarks>
 /// <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='profileName'>
 /// The Profile identifier associated with the Tenant and Partner
 /// </param>
 /// <param name='experimentName'>
 /// The Experiment identifier associated with the Experiment
 /// </param>
 /// <param name='parameters'>
 /// The Experiment Update Model
 /// </param>
 public static Experiment BeginUpdate(this IExperimentsOperations operations, string resourceGroupName, string profileName, string experimentName, ExperimentUpdateModel parameters)
 {
     return(operations.BeginUpdateAsync(resourceGroupName, profileName, experimentName, parameters).GetAwaiter().GetResult());
 }