/// <summary>
 /// Retrieve the ExpressRouteLink sub-resources of the specified
 /// ExpressRoutePort resource.
 /// </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 <ExpressRouteLink> > ListNextAsync(this IExpressRouteLinksOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Retrieves the specified ExpressRouteLink resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='expressRoutePortName'>
 /// The name of the ExpressRoutePort resource.
 /// </param>
 /// <param name='linkName'>
 /// The name of the ExpressRouteLink resource.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ExpressRouteLink> GetAsync(this IExpressRouteLinksOperations operations, string resourceGroupName, string expressRoutePortName, string linkName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, expressRoutePortName, linkName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Retrieve the ExpressRouteLink sub-resources of the specified
 /// ExpressRoutePort resource.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='expressRoutePortName'>
 /// The name of the ExpressRoutePort resource.
 /// </param>
 public static IPage <ExpressRouteLink> List(this IExpressRouteLinksOperations operations, string resourceGroupName, string expressRoutePortName)
 {
     return(operations.ListAsync(resourceGroupName, expressRoutePortName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Retrieve the ExpressRouteLink sub-resources of the specified
 /// ExpressRoutePort resource.
 /// </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 <ExpressRouteLink> ListNext(this IExpressRouteLinksOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }