/// <summary>
 /// Delete the runbook identified by runbookId.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IRunbookOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters supplied to the start runbook operation.
 /// </param>
 /// <returns>
 /// The response model for the start runbook operation.
 /// </returns>
 public static Task<RunbookStartResponse> StartAsync(this IRunbookOperations operations, string automationAccount, RunbookStartParameters parameters)
 {
     return operations.StartAsync(automationAccount, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Delete the runbook identified by runbookId.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/XXXXXXX.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IRunbookOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters supplied to the start runbook operation.
 /// </param>
 /// <returns>
 /// The response model for the start runbook operation.
 /// </returns>
 public static RunbookStartResponse Start(this IRunbookOperations operations, string automationAccount, RunbookStartParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IRunbookOperations)s).StartAsync(automationAccount, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }