/// <summary>
 /// Generates a Uri for use in creating a webhook.  (see
 /// http://aka.ms/azureautomationsdk/webhookoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IWebhookOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <returns>
 /// The response model for the webhook get uri response.
 /// </returns>
 public static Task <WebhookGenerateUriResponse> GenerateUriAsync(this IWebhookOperations operations, string resourceGroupName, string automationAccount)
 {
     return(operations.GenerateUriAsync(resourceGroupName, automationAccount, CancellationToken.None));
 }
 /// <summary>
 /// Generates a Uri for use in creating a webhook.
 /// <see href="http://aka.ms/azureautomationsdk/webhookoperations" />
 /// </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>
 public static string GenerateUri(this IWebhookOperations operations, string resourceGroupName, string automationAccountName)
 {
     return(operations.GenerateUriAsync(resourceGroupName, automationAccountName).GetAwaiter().GetResult());
 }