public interface RouteOperations
| Modifier and Type | Method and Description |
|---|---|
RoutePutResponse |
beginCreateOrUpdating(String resourceGroupName,
String routeTableName,
String routeName,
Route routeParameters)
The Put route operation creates/updates a route in the specified route
table
|
Future<RoutePutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String routeTableName,
String routeName,
Route routeParameters)
The Put route operation creates/updates a route in the specified route
table
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String routeTableName,
String routeName)
The delete route operation deletes the specified route from a route table.
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String routeTableName,
String routeName)
The delete route operation deletes the specified route from a route table.
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String routeTableName,
String routeName,
Route routeParameters)
The Put route operation creates/updates a route in the specified route
table
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String routeTableName,
String routeName,
Route routeParameters)
The Put route operation creates/updates a route in the specified route
table
|
OperationResponse |
delete(String resourceGroupName,
String routeTableName,
String routeName)
The delete route operation deletes the specified route from a route table.
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String routeTableName,
String routeName)
The delete route operation deletes the specified route from a route table.
|
RouteGetResponse |
get(String resourceGroupName,
String routeTableName,
String routeName)
The Get route operation retreives information about the specified route
from the route table.
|
Future<RouteGetResponse> |
getAsync(String resourceGroupName,
String routeTableName,
String routeName)
The Get route operation retreives information about the specified route
from the route table.
|
RouteListResponse |
list(String resourceGroupName,
String routeTableName)
The List network security rule opertion retrieves all the routes in a
route table.
|
Future<RouteListResponse> |
listAsync(String resourceGroupName,
String routeTableName)
The List network security rule opertion retrieves all the routes in a
route table.
|
RoutePutResponse beginCreateOrUpdating(String resourceGroupName, String routeTableName, String routeName, Route routeParameters) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.routeParameters - Required. Parameters supplied to the create/update
routeoperationIOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<RoutePutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String routeTableName, String routeName, Route routeParameters)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.routeParameters - Required. Parameters supplied to the create/update
routeoperationUpdateOperationResponse beginDeleting(String resourceGroupName, String routeTableName, String routeName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<UpdateOperationResponse> beginDeletingAsync(String resourceGroupName, String routeTableName, String routeName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String routeTableName, String routeName, Route routeParameters) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.routeParameters - Required. Parameters supplied to the create/update
route operationInterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.IOException - Thrown if there was an error setting up tracing for
the request.Future<AzureAsyncOperationResponse> createOrUpdateAsync(String resourceGroupName, String routeTableName, String routeName, Route routeParameters)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.routeParameters - Required. Parameters supplied to the create/update
route operationOperationResponse delete(String resourceGroupName, String routeTableName, String routeName) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.InterruptedException - Thrown when a thread is waiting, sleeping,
or otherwise occupied, and the thread is interrupted, either before or
during the activity. Occasionally a method may wish to test whether the
current thread has been interrupted, and if so, to immediately throw
this exception. The following code can be used to achieve this effect:ExecutionException - Thrown when attempting to retrieve the result
of a task that aborted by throwing an exception. This exception can be
inspected using the Throwable.getCause() method.IOException - Thrown if there was an error setting up tracing for
the request.Future<OperationResponse> deleteAsync(String resourceGroupName, String routeTableName, String routeName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.RouteGetResponse get(String resourceGroupName, String routeTableName, String routeName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<RouteGetResponse> getAsync(String resourceGroupName, String routeTableName, String routeName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.routeName - Required. The name of the route.RouteListResponse list(String resourceGroupName, String routeTableName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.Future<RouteListResponse> listAsync(String resourceGroupName, String routeTableName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/