Beispiel #1
0
 /// <summary>
 /// Describe all volumes
 /// </summary>
 /// <remarks>
 /// List all volumes within the capacity pool
 /// </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>
 /// <param name='poolName'>
 /// The name of the capacity pool
 /// </param>
 public static IEnumerable <Volume> List(this IVolumesOperations operations, string resourceGroupName, string accountName, string poolName)
 {
     return(operations.ListAsync(resourceGroupName, accountName, poolName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns a list of all storage volumes at a location.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group.
 /// </param>
 /// <param name='location'>
 /// Location of the resource.
 /// </param>
 /// <param name='scaleUnit'>
 /// Name of the scale units.
 /// </param>
 /// <param name='storageSubSystem'>
 /// Name of the storage system.
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IPage <Volume> List(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery <Volume> odataQuery = default(ODataQuery <Volume>))
 {
     return(operations.ListAsync(resourceGroupName, location, scaleUnit, storageSubSystem, odataQuery).GetAwaiter().GetResult());
 }