Interface RoutesClient
public interface RoutesClient
An instance of this class provides access to all the operations defined in RoutesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String routeTableName, String routeName) Deletes the specified route from a route table.beginDelete(String resourceGroupName, String routeTableName, String routeName, com.azure.core.util.Context context) Deletes the specified route from a route table.beginDeleteAsync(String resourceGroupName, String routeTableName, String routeName) Deletes the specified route from a route table.createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters) Creates or updates a route in the specified route table.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.createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters) Creates or updates a route in the specified route table.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.voidDeletes the specified route from a route table.voiddelete(String resourceGroupName, String routeTableName, String routeName, com.azure.core.util.Context context) Deletes the specified route from a route table.deleteAsync(String resourceGroupName, String routeTableName, String routeName) Deletes the specified route from a route table.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, String routeName) Deletes the specified route from a route table.Gets the specified route from a route table.Gets the specified route from a route table.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.Mono<com.azure.core.http.rest.Response<RouteInner>> getWithResponseAsync(String resourceGroupName, String routeTableName, String routeName) Gets the specified route from a route table.com.azure.core.http.rest.PagedIterable<RouteInner> Gets all routes in a route table.com.azure.core.http.rest.PagedIterable<RouteInner> Gets all routes in a route table.com.azure.core.http.rest.PagedFlux<RouteInner> Gets all routes in a route table.
-
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Monothat 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
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
Responseon successful completion ofMono. - 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
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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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.
-