text: // <auto-generated>
  // Copyright (c) Microsoft Corporation. All rights reserved.
  // Licensed under the MIT License. See License.txt in the project root for
  // license information.
  //
  // Code generated by Microsoft (R) AutoRest Code Generator.
  // </auto-generated>
  
  namespace Microsoft.Azure.Management.Network.Fluent
  {
      using Microsoft.Rest;
      using Microsoft.Rest.Azure;
      using Models;
      using System.Collections;
      using System.Collections.Generic;
      using System.Threading;
      using System.Threading.Tasks;
  
      /// <summary>
      /// AvailableDelegationsOperations operations.
      /// </summary>
      public partial interface IAvailableDelegationsOperations
      {
          /// <summary>
          /// Gets all of the available subnet delegations for this subscription
          /// in this region.
          /// </summary>
          /// <param name='location'>
          /// The location of the subnet.
          /// </param>
          /// <param name='customHeaders'>
          /// The headers that will be added to request.
          /// </param>
          /// <param name='cancellationToken'>
          /// The cancellation token.
          /// </param>
          /// <exception cref="Microsoft.Rest.Azure.CloudException">
          /// Thrown when the operation returned an invalid status code
          /// </exception>
          /// <exception cref="Microsoft.Rest.SerializationException">
          /// Thrown when unable to deserialize the response
          /// </exception>
          /// <exception cref="Microsoft.Rest.ValidationException">
          /// Thrown when a required parameter is null
          /// </exception>
          Task<AzureOperationResponse<IPage<AvailableDelegationInner>>> ListWithHttpMessagesAsync(string location, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
          /// <summary>
          /// Gets all of the available subnet delegations for this subscription
          /// in this region.
          /// </summary>
          /// <param name='nextPageLink'>
          /// The NextLink from the previous successful call to List operation.
          /// </param>
          /// <param name='customHeaders'>
          /// The headers that will be added to request.
          /// </param>
          /// <param name='cancellationToken'>
          /// The cancellation token.
          /// </param>
          /// <exception cref="Microsoft.Rest.Azure.CloudException">
          /// Thrown when the operation returned an invalid status code
          /// </exception>
          /// <exception cref="Microsoft.Rest.SerializationException">
          /// Thrown when unable to deserialize the response
          /// </exception>
          /// <exception cref="Microsoft.Rest.ValidationException">
          /// Thrown when a required parameter is null
          /// </exception>
          Task<AzureOperationResponse<IPage<AvailableDelegationInner>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
      }
  }
  