Interface RouteMapsClient
public interface RouteMapsClient
An instance of this class provides access to all the operations defined in RouteMapsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteMapInner>, RouteMapInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteMapInner>, RouteMapInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters, com.azure.core.util.Context context) Creates a RouteMap if it doesn't exist else updates the existing one.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteMapInner>, RouteMapInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.beginDelete(String resourceGroupName, String virtualHubName, String routeMapName) Deletes a RouteMap.beginDelete(String resourceGroupName, String virtualHubName, String routeMapName, com.azure.core.util.Context context) Deletes a RouteMap.beginDeleteAsync(String resourceGroupName, String virtualHubName, String routeMapName) Deletes a RouteMap.createOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.createOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters, com.azure.core.util.Context context) Creates a RouteMap if it doesn't exist else updates the existing one.createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.voidDeletes a RouteMap.voiddelete(String resourceGroupName, String virtualHubName, String routeMapName, com.azure.core.util.Context context) Deletes a RouteMap.deleteAsync(String resourceGroupName, String virtualHubName, String routeMapName) Deletes a RouteMap.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String routeMapName) Deletes a RouteMap.Retrieves the details of a RouteMap.Retrieves the details of a RouteMap.com.azure.core.http.rest.Response<RouteMapInner> getWithResponse(String resourceGroupName, String virtualHubName, String routeMapName, com.azure.core.util.Context context) Retrieves the details of a RouteMap.Mono<com.azure.core.http.rest.Response<RouteMapInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeMapName) Retrieves the details of a RouteMap.com.azure.core.http.rest.PagedIterable<RouteMapInner> Retrieves the details of all RouteMaps.com.azure.core.http.rest.PagedIterable<RouteMapInner> Retrieves the details of all RouteMaps.com.azure.core.http.rest.PagedFlux<RouteMapInner> Retrieves the details of all RouteMaps.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteMapInner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeMapName) Retrieves the details of a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- Returns:
- the RouteMap child resource of 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
Retrieves the details of a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- Returns:
- the RouteMap child resource of 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<RouteMapInner> getWithResponse(String resourceGroupName, String virtualHubName, String routeMapName, com.azure.core.util.Context context) Retrieves the details of a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.context- The context to associate with this operation.- Returns:
- the RouteMap child resource of 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 RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- Returns:
- the RouteMap child resource of 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.- Returns:
- the RouteMap child resource of 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<RouteMapInner>,RouteMapInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.- Returns:
- the
PollerFluxfor polling of the RouteMap child resource of 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<RouteMapInner>,RouteMapInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.- Returns:
- the
SyncPollerfor polling of the RouteMap child resource of 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<RouteMapInner>,RouteMapInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters, com.azure.core.util.Context context) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the RouteMap child resource of 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<RouteMapInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.- Returns:
- the RouteMap child resource of 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
RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.- Returns:
- the RouteMap child resource of 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
RouteMapInner createOrUpdate(String resourceGroupName, String virtualHubName, String routeMapName, RouteMapInner routeMapParameters, com.azure.core.util.Context context) Creates a RouteMap if it doesn't exist else updates the existing one.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.routeMapParameters- Parameters supplied to create or update a RouteMap.context- The context to associate with this operation.- Returns:
- the RouteMap child resource of 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 routeMapName) Deletes a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- 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 routeMapName) Deletes a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- 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 routeMapName) Deletes a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- 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 routeMapName, com.azure.core.util.Context context) Deletes a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.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 RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- 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 RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.- 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 routeMapName, com.azure.core.util.Context context) Deletes a RouteMap.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group.virtualHubName- The name of the VirtualHub containing the RouteMap.routeMapName- The name of the RouteMap.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<RouteMapInner> listAsync(String resourceGroupName, String virtualHubName) Retrieves the details of all RouteMaps.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group'.virtualHubName- The name of the VirtualHub containing the RouteMap.- Returns:
- list of RouteMaps 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<RouteMapInner> list(String resourceGroupName, String virtualHubName) Retrieves the details of all RouteMaps.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group'.virtualHubName- The name of the VirtualHub containing the RouteMap.- Returns:
- list of RouteMaps 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<RouteMapInner> list(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of all RouteMaps.- Parameters:
resourceGroupName- The resource group name of the RouteMap's resource group'.virtualHubName- The name of the VirtualHub containing the RouteMap.context- The context to associate with this operation.- Returns:
- list of RouteMaps 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.
-