Interface RoutesClient


  • public interface RoutesClient
    An instance of this class provides access to all the operations defined in RoutesClient.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreate​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreate​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route, com.azure.core.util.Context context)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreateAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String profileName, String endpointName, String routeName, com.azure.core.util.Context context)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdate​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdate​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties, com.azure.core.util.Context context)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdateAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      RouteInner create​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      RouteInner create​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route, com.azure.core.util.Context context)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<RouteInner> createAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteInner route)
      Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      void delete​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      void delete​(String resourceGroupName, String profileName, String endpointName, String routeName, com.azure.core.util.Context context)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<Void> deleteAsync​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      RouteInner get​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<RouteInner> getAsync​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.http.rest.Response<RouteInner> getWithResponse​(String resourceGroupName, String profileName, String endpointName, String routeName, com.azure.core.util.Context context)
      Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<com.azure.core.http.rest.Response<RouteInner>> getWithResponseAsync​(String resourceGroupName, String profileName, String endpointName, String routeName)
      Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      com.azure.core.http.rest.PagedIterable<RouteInner> listByEndpoint​(String resourceGroupName, String profileName, String endpointName)
      Lists all of the existing origins within a profile.
      com.azure.core.http.rest.PagedIterable<RouteInner> listByEndpoint​(String resourceGroupName, String profileName, String endpointName, com.azure.core.util.Context context)
      Lists all of the existing origins within a profile.
      com.azure.core.http.rest.PagedFlux<RouteInner> listByEndpointAsync​(String resourceGroupName, String profileName, String endpointName)
      Lists all of the existing origins within a profile.
      RouteInner update​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      RouteInner update​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties, com.azure.core.util.Context context)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<RouteInner> updateAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName, String profileName, String endpointName, String routeName, RouteUpdateParameters routeUpdateProperties)
      Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
    • Method Detail

      • listByEndpointAsync

        com.azure.core.http.rest.PagedFlux<RouteInner> listByEndpointAsync​(String resourceGroupName,
                                                                           String profileName,
                                                                           String endpointName)
        Lists all of the existing origins within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<RouteInner> listByEndpoint​(String resourceGroupName,
                                                                          String profileName,
                                                                          String endpointName)
        Lists all of the existing origins within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        Returns:
        result of the request to list routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByEndpoint

        com.azure.core.http.rest.PagedIterable<RouteInner> listByEndpoint​(String resourceGroupName,
                                                                          String profileName,
                                                                          String endpointName,
                                                                          com.azure.core.util.Context context)
        Lists all of the existing origins within a profile.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        context - The context to associate with this operation.
        Returns:
        result of the request to list routes.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RouteInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                 String profileName,
                                                                                 String endpointName,
                                                                                 String routeName)
        Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<RouteInner> getAsync​(String resourceGroupName,
                                  String profileName,
                                  String endpointName,
                                  String routeName)
        Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        RouteInner get​(String resourceGroupName,
                       String profileName,
                       String endpointName,
                       String routeName)
        Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<RouteInner> getWithResponse​(String resourceGroupName,
                                                                      String profileName,
                                                                      String endpointName,
                                                                      String routeName,
                                                                      com.azure.core.util.Context context)
        Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        context - The context to associate with this operation.
        Returns:
        an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String endpointName,
                                                                                          String routeName,
                                                                                          RouteInner route)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                           String profileName,
                                                                                                                                           String endpointName,
                                                                                                                                           String routeName,
                                                                                                                                           RouteInner route)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreate​(String resourceGroupName,
                                                                                                                                      String profileName,
                                                                                                                                      String endpointName,
                                                                                                                                      String routeName,
                                                                                                                                      RouteInner route)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginCreate​(String resourceGroupName,
                                                                                                                                      String profileName,
                                                                                                                                      String endpointName,
                                                                                                                                      String routeName,
                                                                                                                                      RouteInner route,
                                                                                                                                      com.azure.core.util.Context context)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        context - The context to associate with this operation.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createAsync

        Mono<RouteInner> createAsync​(String resourceGroupName,
                                     String profileName,
                                     String endpointName,
                                     String routeName,
                                     RouteInner route)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        RouteInner create​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          String routeName,
                          RouteInner route)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        RouteInner create​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          String routeName,
                          RouteInner route,
                          com.azure.core.util.Context context)
        Creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        route - Route properties.
        context - The context to associate with this operation.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String endpointName,
                                                                                          String routeName,
                                                                                          RouteUpdateParameters routeUpdateProperties)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                           String profileName,
                                                                                                                                           String endpointName,
                                                                                                                                           String routeName,
                                                                                                                                           RouteUpdateParameters routeUpdateProperties)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdate​(String resourceGroupName,
                                                                                                                                      String profileName,
                                                                                                                                      String endpointName,
                                                                                                                                      String routeName,
                                                                                                                                      RouteUpdateParameters routeUpdateProperties)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,​RouteInner> beginUpdate​(String resourceGroupName,
                                                                                                                                      String profileName,
                                                                                                                                      String endpointName,
                                                                                                                                      String routeName,
                                                                                                                                      RouteUpdateParameters routeUpdateProperties,
                                                                                                                                      com.azure.core.util.Context context)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        context - The context to associate with this operation.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAsync

        Mono<RouteInner> updateAsync​(String resourceGroupName,
                                     String profileName,
                                     String endpointName,
                                     String routeName,
                                     RouteUpdateParameters routeUpdateProperties)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        RouteInner update​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          String routeName,
                          RouteUpdateParameters routeUpdateProperties)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        RouteInner update​(String resourceGroupName,
                          String profileName,
                          String endpointName,
                          String routeName,
                          RouteUpdateParameters routeUpdateProperties,
                          com.azure.core.util.Context context)
        Updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        routeUpdateProperties - Route update properties.
        context - The context to associate with this operation.
        Returns:
        friendly Routes name mapping to the any Routes or secret related information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String profileName,
                                                                                          String endpointName,
                                                                                          String routeName)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String profileName,
                                                                                                                               String endpointName,
                                                                                                                               String routeName)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String profileName,
                                                                                                                          String endpointName,
                                                                                                                          String routeName)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String profileName,
                                                                                                                          String endpointName,
                                                                                                                          String routeName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        context - The context to associate with this operation.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String profileName,
                               String endpointName,
                               String routeName)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String profileName,
                    String endpointName,
                    String routeName)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String profileName,
                    String endpointName,
                    String routeName,
                    com.azure.core.util.Context context)
        Deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
        Parameters:
        resourceGroupName - Name of the Resource group within the Azure subscription.
        profileName - Name of the CDN profile which is unique within the resource group.
        endpointName - Name of the endpoint under the profile which is unique globally.
        routeName - Name of the routing rule.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.