/// <summary> /// Retrieve a list of certificates. /// <see href="http://aka.ms/azureautomationsdk/certificateoperations" /> /// </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 IPage <Certificate> ListByAutomationAccount(this ICertificateOperations operations, string resourceGroupName, string automationAccountName) { return(operations.ListByAutomationAccountAsync(resourceGroupName, automationAccountName).GetAwaiter().GetResult()); }