Interface RoutesClient


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

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, String routeName)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the Response on successful completion of Mono.
      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 routeTableName, String routeName)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the PollerFlux for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String routeTableName, String routeName)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String routeTableName, String routeName, com.azure.core.util.Context context)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String routeTableName, String routeName)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      A Mono that completes when a successful response is received.
      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 routeTableName, String routeName)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      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 routeTableName, String routeName, com.azure.core.util.Context context)
      Deletes the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RouteInner>> getWithResponseAsync(String resourceGroupName, String routeTableName, String routeName)
      Gets the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the specified route from a route table along with Response on successful completion of Mono.
      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 routeTableName, String routeName)
      Gets the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the specified route from a route table on successful completion of Mono.
      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 routeTableName, String routeName, com.azure.core.util.Context context)
      Gets the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      context - The context to associate with this operation.
      Returns:
      the specified route from a route table along with Response.
      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 routeTableName, String routeName)
      Gets the specified route from a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      Returns:
      the specified route from a route table.
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      Returns:
      route resource along with Response on successful completion of Mono.
      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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteInner>,RouteInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      Returns:
      the PollerFlux for polling of route resource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      Returns:
      the SyncPoller for polling of route resource.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteInner>,RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, com.azure.core.util.Context context)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of route resource.
      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.
    • createOrUpdateAsync

      Mono<RouteInner> createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      Returns:
      route resource on successful completion of Mono.
      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.
    • createOrUpdate

      RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      Returns:
      route resource.
      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.
    • createOrUpdate

      RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, com.azure.core.util.Context context)
      Creates or updates a route in the specified route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      routeName - The name of the route.
      routeParameters - Parameters supplied to the create or update route operation.
      context - The context to associate with this operation.
      Returns:
      route resource.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<RouteInner> listAsync(String resourceGroupName, String routeTableName)
      Gets all routes in a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      Returns:
      all routes in a route table as paginated response with PagedFlux.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<RouteInner> list(String resourceGroupName, String routeTableName)
      Gets all routes in a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      Returns:
      all routes in a route table as paginated response with PagedIterable.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<RouteInner> list(String resourceGroupName, String routeTableName, com.azure.core.util.Context context)
      Gets all routes in a route table.
      Parameters:
      resourceGroupName - The name of the resource group.
      routeTableName - The name of the route table.
      context - The context to associate with this operation.
      Returns:
      all routes in a route table as paginated response with PagedIterable.
      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.