Ejemplo n.º 1
0
 /// <summary>
 /// Publish runbook draft.
 /// <see href="http://aka.ms/azureautomationsdk/runbookdraftoperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='runbookName'>
 /// The parameters supplied to the publish runbook operation.
 /// </param>
 public static RunbookPublishHeaders BeginPublish(this IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName)
 {
     return(operations.BeginPublishAsync(resourceGroupName, automationAccountName, runbookName).GetAwaiter().GetResult());
 }