RoutesClient Interface

public interface RoutesClient

An instance of this class provides access to all the operations defined in RoutesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<RouteInner>,RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)

Creates or updates a route in the specified route table.

abstract SyncPoller<PollResult<RouteInner>,RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, Context context)

Creates or updates a route in the specified route table.

abstract PollerFlux<PollResult<RouteInner>,RouteInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)

Creates or updates a route in the specified route table.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String routeTableName, String routeName)

Deletes the specified route from a route table.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String routeTableName, String routeName, Context context)

Deletes the specified route from a route table.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String routeTableName, String routeName)

Deletes the specified route from a route table.

abstract RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)

Creates or updates a route in the specified route table.

abstract RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, Context context)

Creates or updates a route in the specified route table.

abstract Mono<RouteInner> createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)

Creates or updates a route in the specified route table.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters)

Creates or updates a route in the specified route table.

abstract void delete(String resourceGroupName, String routeTableName, String routeName)

Deletes the specified route from a route table.

abstract void delete(String resourceGroupName, String routeTableName, String routeName, Context context)

Deletes the specified route from a route table.

abstract Mono<Void> deleteAsync(String resourceGroupName, String routeTableName, String routeName)

Deletes the specified route from a route table.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeTableName, String routeName)

Deletes the specified route from a route table.

abstract RouteInner get(String resourceGroupName, String routeTableName, String routeName)

Gets the specified route from a route table.

abstract Mono<RouteInner> getAsync(String resourceGroupName, String routeTableName, String routeName)

Gets the specified route from a route table.

abstract Response<RouteInner> getWithResponse(String resourceGroupName, String routeTableName, String routeName, Context context)

Gets the specified route from a route table.

abstract Mono<Response<RouteInner>> getWithResponseAsync(String resourceGroupName, String routeTableName, String routeName)

Gets the specified route from a route table.

abstract PagedIterable<RouteInner> list(String resourceGroupName, String routeTableName)

Gets all routes in a route table.

abstract PagedIterable<RouteInner> list(String resourceGroupName, String routeTableName, Context context)

Gets all routes in a route table.

abstract PagedFlux<RouteInner> listAsync(String resourceGroupName, String routeTableName)

Gets all routes in a route table.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,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<T,U> for polling of route resource.

beginCreateOrUpdate

public abstract SyncPoller,RouteInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, 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<T,U> for polling of route resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,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<T,U> for polling of route resource.

beginDelete

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String routeTableName, String routeName, 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<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract RouteInner createOrUpdate(String resourceGroupName, String routeTableName, String routeName, RouteInner routeParameters, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String routeTableName, String routeName, 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.

deleteAsync

public abstract Mono 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.

deleteWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String routeTableName, String routeName, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String routeTableName, 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<T>.

listAsync

public abstract PagedFlux 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<T>.

Applies to