/// <summary>
 /// Return the requested storage subsystem.
 /// </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='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <StorageSubSystem> GetAsync(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Returns a list of all storage subsystems for a location.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <StorageSubSystem> > ListNextAsync(this IStorageSubSystemsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Returns a list of all storage subsystems for 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='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <StorageSubSystem> > ListAsync(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, ODataQuery <StorageSubSystem> odataQuery = default(ODataQuery <StorageSubSystem>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, odataQuery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Returns a list of all storage subsystems for 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='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IPage <StorageSubSystem> List(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, ODataQuery <StorageSubSystem> odataQuery = default(ODataQuery <StorageSubSystem>))
 {
     return(operations.ListAsync(resourceGroupName, location, scaleUnit, odataQuery).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Return the requested storage subsystem.
 /// </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>
 public static StorageSubSystem Get(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem)
 {
     return(operations.GetAsync(resourceGroupName, location, scaleUnit, storageSubSystem).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Returns a list of all storage subsystems for a location.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextPageLink'>
 /// The NextLink from the previous successful call to List operation.
 /// </param>
 public static IPage <StorageSubSystem> ListNext(this IStorageSubSystemsOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }