/// <summary>
 /// List vaults
 /// </summary>
 /// <remarks>
 /// List vaults for a 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 IEnumerable <Vault> List(this IVaultsOperations operations, string resourceGroupName, string accountName)
 {
     return(operations.ListAsync(resourceGroupName, accountName).GetAwaiter().GetResult());
 }
Exemple #2
0
 /// <summary>
 /// The List operation gets information about the vaults associated with the
 /// subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// Maximum number of results to return.
 /// </param>
 public static IPage <Resource> List(this IVaultsOperations operations, int?top = default(int?))
 {
     return(operations.ListAsync(top).GetAwaiter().GetResult());
 }