public interface RouteTableOperations
| Modifier and Type | Method and Description |
|---|---|
RouteTablePutResponse |
beginCreateOrUpdating(String resourceGroupName,
String routeTableName,
RouteTable parameters)
The Put RouteTable operation creates/updates a route tablein the
specified resource group.
|
Future<RouteTablePutResponse> |
beginCreateOrUpdatingAsync(String resourceGroupName,
String routeTableName,
RouteTable parameters)
The Put RouteTable operation creates/updates a route tablein the
specified resource group.
|
UpdateOperationResponse |
beginDeleting(String resourceGroupName,
String routeTableName)
The Delete RouteTable operation deletes the specifed Route Table
|
Future<UpdateOperationResponse> |
beginDeletingAsync(String resourceGroupName,
String routeTableName)
The Delete RouteTable operation deletes the specifed Route Table
|
AzureAsyncOperationResponse |
createOrUpdate(String resourceGroupName,
String routeTableName,
RouteTable parameters)
The Put RouteTable operation creates/updates a route tablein the
specified resource group.
|
Future<AzureAsyncOperationResponse> |
createOrUpdateAsync(String resourceGroupName,
String routeTableName,
RouteTable parameters)
The Put RouteTable operation creates/updates a route tablein the
specified resource group.
|
OperationResponse |
delete(String resourceGroupName,
String routeTableName)
The Delete RouteTable operation deletes the specifed Route Table
|
Future<OperationResponse> |
deleteAsync(String resourceGroupName,
String routeTableName)
The Delete RouteTable operation deletes the specifed Route Table
|
RouteTableGetResponse |
get(String resourceGroupName,
String routeTableName)
The Get RouteTables operation retrieves information about the specified
route table.
|
Future<RouteTableGetResponse> |
getAsync(String resourceGroupName,
String routeTableName)
The Get RouteTables operation retrieves information about the specified
route table.
|
RouteTableListResponse |
list(String resourceGroupName)
The list RouteTables returns all route tables in a resource group
|
RouteTableListResponse |
listAll()
The list RouteTables returns all route tables in a subscription
|
Future<RouteTableListResponse> |
listAllAsync()
The list RouteTables returns all route tables in a subscription
|
Future<RouteTableListResponse> |
listAsync(String resourceGroupName)
The list RouteTables returns all route tables in a resource group
|
RouteTablePutResponse beginCreateOrUpdating(String resourceGroupName, String routeTableName, RouteTable parameters) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.parameters - Required. Parameters supplied to the create/update
Route Table operationIOException - 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<RouteTablePutResponse> beginCreateOrUpdatingAsync(String resourceGroupName, String routeTableName, RouteTable parameters)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.parameters - Required. Parameters supplied to the create/update
Route Table operationUpdateOperationResponse beginDeleting(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<UpdateOperationResponse> beginDeletingAsync(String resourceGroupName, String routeTableName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.AzureAsyncOperationResponse createOrUpdate(String resourceGroupName, String routeTableName, RouteTable parameters) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.parameters - Required. Parameters supplied to the create/update
Route Table 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, RouteTable parameters)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.parameters - Required. Parameters supplied to the create/update
Route Table operationOperationResponse delete(String resourceGroupName, String routeTableName) throws InterruptedException, ExecutionException, IOException
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.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)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.RouteTableGetResponse get(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<RouteTableGetResponse> getAsync(String resourceGroupName, String routeTableName)
resourceGroupName - Required. The name of the resource group.routeTableName - Required. The name of the route table.RouteTableListResponse list(String resourceGroupName) throws IOException, ServiceException
resourceGroupName - Required. The name of the resource group.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<RouteTableListResponse> listAsync(String resourceGroupName)
resourceGroupName - Required. The name of the resource group.RouteTableListResponse listAll() throws IOException, ServiceException
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<RouteTableListResponse> listAllAsync()
/**
* 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.
*/