/// <summary>
 /// Set the settings of a continuous WebJob (will replace the current
 /// settings of the WebJob).
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
 /// </param>
 /// <param name='jobName'>
 /// Required. The continuous WebJob name.
 /// </param>
 /// <param name='settings'>
 /// Required. The continuous WebJob settings.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task<AzureOperationResponse> SetSettingsAsync(this IContinuousWebJobOperations operations, string jobName, ContinuousWebJobSettingsUpdateParameters settings)
 {
     return operations.SetSettingsAsync(jobName, settings, CancellationToken.None);
 }
 /// <summary>
 /// Set the settings of a continuous WebJob (will replace the current
 /// settings of the WebJob).
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
 /// </param>
 /// <param name='jobName'>
 /// Required. The continuous WebJob name.
 /// </param>
 /// <param name='settings'>
 /// Required. The continuous WebJob settings.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static AzureOperationResponse SetSettings(this IContinuousWebJobOperations operations, string jobName, ContinuousWebJobSettingsUpdateParameters settings)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IContinuousWebJobOperations)s).SetSettingsAsync(jobName, settings);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }