Interface RouteTablesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<RouteTableInner>,InnerSupportsListing<RouteTableInner>
public interface RouteTablesClient extends InnerSupportsGet<RouteTableInner>, InnerSupportsListing<RouteTableInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RouteTablesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteTableInner>,RouteTableInner>beginCreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters)Create or updates a route table in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteTableInner>,RouteTableInner>beginCreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters, com.azure.core.util.Context context)Create or updates a route table in a specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteTableInner>,RouteTableInner>beginCreateOrUpdateAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)Create or updates a route table in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String routeTableName)Deletes the specified route table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String routeTableName, com.azure.core.util.Context context)Deletes the specified route table.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String routeTableName)Deletes the specified route table.RouteTableInnercreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters)Create or updates a route table in a specified resource group.RouteTableInnercreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters, com.azure.core.util.Context context)Create or updates a route table in a specified resource group.Mono<RouteTableInner>createOrUpdateAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)Create or updates a route table in a specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)Create or updates a route table in a specified resource group.voiddelete(String resourceGroupName, String routeTableName)Deletes the specified route table.voiddelete(String resourceGroupName, String routeTableName, com.azure.core.util.Context context)Deletes the specified route table.Mono<Void>deleteAsync(String resourceGroupName, String routeTableName)Deletes the specified route table.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String routeTableName)Deletes the specified route table.RouteTableInnergetByResourceGroup(String resourceGroupName, String routeTableName)Gets the specified route table.Mono<RouteTableInner>getByResourceGroupAsync(String resourceGroupName, String routeTableName)Gets the specified route table.Mono<RouteTableInner>getByResourceGroupAsync(String resourceGroupName, String routeTableName, String expand)Gets the specified route table.com.azure.core.http.rest.Response<RouteTableInner>getByResourceGroupWithResponse(String resourceGroupName, String routeTableName, String expand, com.azure.core.util.Context context)Gets the specified route table.Mono<com.azure.core.http.rest.Response<RouteTableInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String routeTableName, String expand)Gets the specified route table.com.azure.core.http.rest.PagedIterable<RouteTableInner>list()Gets all route tables in a subscription.com.azure.core.http.rest.PagedIterable<RouteTableInner>list(com.azure.core.util.Context context)Gets all route tables in a subscription.com.azure.core.http.rest.PagedFlux<RouteTableInner>listAsync()Gets all route tables in a subscription.com.azure.core.http.rest.PagedIterable<RouteTableInner>listByResourceGroup(String resourceGroupName)Gets all route tables in a resource group.com.azure.core.http.rest.PagedIterable<RouteTableInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all route tables in a resource group.com.azure.core.http.rest.PagedFlux<RouteTableInner>listByResourceGroupAsync(String resourceGroupName)Gets all route tables in a resource group.RouteTableInnerupdateTags(String resourceGroupName, String routeTableName, TagsObject parameters)Updates a route table tags.Mono<RouteTableInner>updateTagsAsync(String resourceGroupName, String routeTableName, TagsObject parameters)Updates a route table tags.com.azure.core.http.rest.Response<RouteTableInner>updateTagsWithResponse(String resourceGroupName, String routeTableName, TagsObject parameters, com.azure.core.util.Context context)Updates a route table tags.Mono<com.azure.core.http.rest.Response<RouteTableInner>>updateTagsWithResponseAsync(String resourceGroupName, String routeTableName, TagsObject parameters)Updates a route table tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeTableName)
Deletes the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- 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)
Deletes the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- 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)
Deletes the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- 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, com.azure.core.util.Context context)
Deletes the specified 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:
- 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
Mono<Void> deleteAsync(String resourceGroupName, String routeTableName)
Deletes the specified route table.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- 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
void delete(String resourceGroupName, String routeTableName)
Deletes the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the 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.
-
delete
void delete(String resourceGroupName, String routeTableName, com.azure.core.util.Context context)
Deletes the specified 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.- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteTableInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String routeTableName, String expand)
Gets the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.expand- Expands referenced resources.- Returns:
- the specified 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.
-
getByResourceGroupAsync
Mono<RouteTableInner> getByResourceGroupAsync(String resourceGroupName, String routeTableName, String expand)
Gets the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.expand- Expands referenced resources.- Returns:
- the specified 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.
-
getByResourceGroupAsync
Mono<RouteTableInner> getByResourceGroupAsync(String resourceGroupName, String routeTableName)
Gets the specified route table.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<RouteTableInner>- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- Returns:
- the specified 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.
-
getByResourceGroup
RouteTableInner getByResourceGroup(String resourceGroupName, String routeTableName)
Gets the specified route table.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<RouteTableInner>- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.- Returns:
- the specified 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<RouteTableInner> getByResourceGroupWithResponse(String resourceGroupName, String routeTableName, String expand, com.azure.core.util.Context context)
Gets the specified route table.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.expand- Expands referenced resources.context- The context to associate with this operation.- Returns:
- the specified 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.- Returns:
- route table 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<RouteTableInner>,RouteTableInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.- Returns:
- the
PollerFluxfor polling of route table 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<RouteTableInner>,RouteTableInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.- Returns:
- the
SyncPollerfor polling of route table 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<RouteTableInner>,RouteTableInner> beginCreateOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters, com.azure.core.util.Context context)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of route table 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<RouteTableInner> createOrUpdateAsync(String resourceGroupName, String routeTableName, RouteTableInner parameters)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.- Returns:
- route table 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
RouteTableInner createOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.- Returns:
- route table 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
RouteTableInner createOrUpdate(String resourceGroupName, String routeTableName, RouteTableInner parameters, com.azure.core.util.Context context)
Create or updates a route table in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to the create or update route table operation.context- The context to associate with this operation.- Returns:
- route table 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteTableInner>> updateTagsWithResponseAsync(String resourceGroupName, String routeTableName, TagsObject parameters)
Updates a route table tags.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to update route table tags.- Returns:
- route table 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.
-
updateTagsAsync
Mono<RouteTableInner> updateTagsAsync(String resourceGroupName, String routeTableName, TagsObject parameters)
Updates a route table tags.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to update route table tags.- Returns:
- route table 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.
-
updateTags
RouteTableInner updateTags(String resourceGroupName, String routeTableName, TagsObject parameters)
Updates a route table tags.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to update route table tags.- Returns:
- route table 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<RouteTableInner> updateTagsWithResponse(String resourceGroupName, String routeTableName, TagsObject parameters, com.azure.core.util.Context context)
Updates a route table tags.- Parameters:
resourceGroupName- The name of the resource group.routeTableName- The name of the route table.parameters- Parameters supplied to update route table tags.context- The context to associate with this operation.- Returns:
- route table resource 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<RouteTableInner> listByResourceGroupAsync(String resourceGroupName)
Gets all route tables in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<RouteTableInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all route tables in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RouteTableInner> listByResourceGroup(String resourceGroupName)
Gets all route tables in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<RouteTableInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all route tables in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RouteTableInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all route tables in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all route tables in a resource group 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<RouteTableInner> listAsync()
Gets all route tables in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<RouteTableInner>- Returns:
- all route tables in a subscription as paginated response with
PagedFlux. - Throws:
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<RouteTableInner> list()
Gets all route tables in a subscription.- Specified by:
listin interfaceInnerSupportsListing<RouteTableInner>- Returns:
- all route tables in a subscription as paginated response with
PagedIterable. - Throws:
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<RouteTableInner> list(com.azure.core.util.Context context)
Gets all route tables in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all route tables in a subscription 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.
-
-