/// <summary> /// Describe a NetApp Account /// </summary> /// <remarks> /// Get the NetApp account /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='accountName'> /// The name of the NetApp account /// </param> public static NetAppAccount Get(this IAccountsOperations operations, string resourceGroupName, string accountName) { return(operations.GetAsync(resourceGroupName, accountName).GetAwaiter().GetResult()); }
/// <summary> /// Gets the details of the account. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.RemoteApp.IAccountsOperations. /// </param> /// <returns> /// Definition for result of GetAccount operaton. /// </returns> public static Task <GetAccountResult> GetAsync(this IAccountsOperations operations) { return(operations.GetAsync(CancellationToken.None)); }