/// <summary>
 /// Get the Spring Cloud Gateway route configs.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the Service resource.
 /// </param>
 /// <param name='gatewayName'>
 /// The name of Spring Cloud Gateway.
 /// </param>
 /// <param name='routeConfigName'>
 /// The name of the Spring Cloud Gateway route config.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <GatewayRouteConfigResource> GetAsync(this IGatewayRouteConfigsOperations operations, string resourceGroupName, string serviceName, string gatewayName, string routeConfigName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, gatewayName, routeConfigName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Handle requests to list all Spring Cloud Gateway route configs.
 /// </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 <GatewayRouteConfigResource> > ListNextAsync(this IGatewayRouteConfigsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get the Spring Cloud Gateway route configs.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the Service resource.
 /// </param>
 /// <param name='gatewayName'>
 /// The name of Spring Cloud Gateway.
 /// </param>
 /// <param name='routeConfigName'>
 /// The name of the Spring Cloud Gateway route config.
 /// </param>
 public static GatewayRouteConfigResource Get(this IGatewayRouteConfigsOperations operations, string resourceGroupName, string serviceName, string gatewayName, string routeConfigName)
 {
     return(operations.GetAsync(resourceGroupName, serviceName, gatewayName, routeConfigName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Handle requests to list all Spring Cloud Gateway route configs.
 /// </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 <GatewayRouteConfigResource> ListNext(this IGatewayRouteConfigsOperations operations, string nextPageLink)
 {
     return(operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Delete the Spring Cloud Gateway route config.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the Service resource.
 /// </param>
 /// <param name='gatewayName'>
 /// The name of Spring Cloud Gateway.
 /// </param>
 /// <param name='routeConfigName'>
 /// The name of the Spring Cloud Gateway route config.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task BeginDeleteAsync(this IGatewayRouteConfigsOperations operations, string resourceGroupName, string serviceName, string gatewayName, string routeConfigName, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, serviceName, gatewayName, routeConfigName, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 /// <summary>
 /// Delete the Spring Cloud Gateway route config.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the Service resource.
 /// </param>
 /// <param name='gatewayName'>
 /// The name of Spring Cloud Gateway.
 /// </param>
 /// <param name='routeConfigName'>
 /// The name of the Spring Cloud Gateway route config.
 /// </param>
 public static void BeginDelete(this IGatewayRouteConfigsOperations operations, string resourceGroupName, string serviceName, string gatewayName, string routeConfigName)
 {
     operations.BeginDeleteAsync(resourceGroupName, serviceName, gatewayName, routeConfigName).GetAwaiter().GetResult();
 }