Interface HubRouteTablesClient
public interface HubRouteTablesClient
An instance of this class provides access to all the operations defined in HubRouteTablesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubRouteTableInner>, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubRouteTableInner>, HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, com.azure.core.util.Context context) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<HubRouteTableInner>, HubRouteTableInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.beginDelete(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a RouteTable.beginDelete(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a RouteTable.beginDeleteAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a RouteTable.createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, com.azure.core.util.Context context) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.voidDeletes a RouteTable.voiddelete(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a RouteTable.deleteAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a RouteTable.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a RouteTable.Retrieves the details of a RouteTable.Retrieves the details of a RouteTable.com.azure.core.http.rest.Response<HubRouteTableInner> getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Retrieves the details of a RouteTable.Mono<com.azure.core.http.rest.Response<HubRouteTableInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a RouteTable.com.azure.core.http.rest.PagedIterable<HubRouteTableInner> Retrieves the details of all RouteTables.com.azure.core.http.rest.PagedIterable<HubRouteTableInner> Retrieves the details of all RouteTables.com.azure.core.http.rest.PagedFlux<HubRouteTableInner> Retrieves the details of all RouteTables.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.- Returns:
- routeTable resource in a virtual hub 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<HubRouteTableInner>,HubRouteTableInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.- Returns:
- the
PollerFluxfor polling of routeTable resource in a virtual hub. - 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<HubRouteTableInner>,HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.- Returns:
- the
SyncPollerfor polling of routeTable resource in a virtual hub. - 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<HubRouteTableInner>,HubRouteTableInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, com.azure.core.util.Context context) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of routeTable resource in a virtual hub. - 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<HubRouteTableInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.- Returns:
- routeTable resource in a virtual hub 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
HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.- Returns:
- routeTable resource in a virtual hub.
- 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
HubRouteTableInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, HubRouteTableInner routeTableParameters, com.azure.core.util.Context context) Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.routeTableParameters- Parameters supplied to create or update RouteTable.context- The context to associate with this operation.- Returns:
- routeTable resource in a virtual hub.
- 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<HubRouteTableInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- Returns:
- routeTable resource in a virtual hub 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
Mono<HubRouteTableInner> getAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- Returns:
- routeTable resource in a virtual hub 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<HubRouteTableInner> getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Retrieves the details of a RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.context- The context to associate with this operation.- Returns:
- routeTable resource in a virtual hub 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
Retrieves the details of a RouteTable.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- Returns:
- routeTable resource in a virtual hub.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- 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 virtualHubName, String routeTableName) Deletes a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- 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 virtualHubName, String routeTableName) Deletes a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- 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 virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.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 a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- 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 a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.- 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 virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a RouteTable.- Parameters:
resourceGroupName- The resource group name of the RouteTable.virtualHubName- The name of the VirtualHub.routeTableName- The name of the RouteTable.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.
-
listAsync
com.azure.core.http.rest.PagedFlux<HubRouteTableInner> listAsync(String resourceGroupName, String virtualHubName) Retrieves the details of all RouteTables.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of RouteTables and a URL nextLink to get the next set of results 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<HubRouteTableInner> list(String resourceGroupName, String virtualHubName) Retrieves the details of all RouteTables.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of RouteTables and a URL nextLink to get the next set of results 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<HubRouteTableInner> list(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of all RouteTables.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.context- The context to associate with this operation.- Returns:
- list of RouteTables and a URL nextLink to get the next set of results 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.
-