Example #1
0
 /// <summary>
 /// Create the runbook identified by runbook name.  (see
 /// http://aka.ms/azureautomationsdk/runbookoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The create parameters for runbook.
 /// </param>
 /// <returns>
 /// The response model for the runbook create response.
 /// </returns>
 public static Task <RunbookCreateResponse> CreateAsync(this IRunbookOperations operations, string automationAccount, RunbookCreateParameters parameters)
 {
     return(operations.CreateAsync(automationAccount, parameters, CancellationToken.None));
 }