Interface VirtualHubRouteTableV2SClient
public interface VirtualHubRouteTableV2SClient
An instance of this class provides access to all the operations defined in VirtualHubRouteTableV2SClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubRouteTableV2Inner>, VirtualHubRouteTableV2Inner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubRouteTableV2Inner>, VirtualHubRouteTableV2Inner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, com.azure.core.util.Context context) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubRouteTableV2Inner>, VirtualHubRouteTableV2Inner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.beginDelete(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a VirtualHubRouteTableV2.beginDelete(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a VirtualHubRouteTableV2.beginDeleteAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a VirtualHubRouteTableV2.createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, com.azure.core.util.Context context) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.voidDeletes a VirtualHubRouteTableV2.voiddelete(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Deletes a VirtualHubRouteTableV2.deleteAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a VirtualHubRouteTableV2.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Deletes a VirtualHubRouteTableV2.Retrieves the details of a VirtualHubRouteTableV2.Retrieves the details of a VirtualHubRouteTableV2.com.azure.core.http.rest.Response<VirtualHubRouteTableV2Inner> getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Retrieves the details of a VirtualHubRouteTableV2.Mono<com.azure.core.http.rest.Response<VirtualHubRouteTableV2Inner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a VirtualHubRouteTableV2.com.azure.core.http.rest.PagedIterable<VirtualHubRouteTableV2Inner> Retrieves the details of all VirtualHubRouteTableV2s.com.azure.core.http.rest.PagedIterable<VirtualHubRouteTableV2Inner> Retrieves the details of all VirtualHubRouteTableV2s.com.azure.core.http.rest.PagedFlux<VirtualHubRouteTableV2Inner> Retrieves the details of all VirtualHubRouteTableV2s.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualHubRouteTableV2Inner>> getWithResponseAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<VirtualHubRouteTableV2Inner> getAsync(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<VirtualHubRouteTableV2Inner> getWithResponse(String resourceGroupName, String virtualHubName, String routeTableName, com.azure.core.util.Context context) Retrieves the details of a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.context- The context to associate with this operation.- Returns:
- virtualHubRouteTableV2 Resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
VirtualHubRouteTableV2Inner get(String resourceGroupName, String virtualHubName, String routeTableName) Retrieves the details of a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<VirtualHubRouteTableV2Inner>,VirtualHubRouteTableV2Inner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.- Returns:
- the
PollerFluxfor polling of virtualHubRouteTableV2 Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<VirtualHubRouteTableV2Inner>,VirtualHubRouteTableV2Inner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.- Returns:
- the
SyncPollerfor polling of virtualHubRouteTableV2 Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<VirtualHubRouteTableV2Inner>,VirtualHubRouteTableV2Inner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, com.azure.core.util.Context context) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of virtualHubRouteTableV2 Resource. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VirtualHubRouteTableV2Inner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.- Returns:
- virtualHubRouteTableV2 Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VirtualHubRouteTableV2Inner createOrUpdate(String resourceGroupName, String virtualHubName, String routeTableName, VirtualHubRouteTableV2Inner virtualHubRouteTableV2Parameters, com.azure.core.util.Context context) Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.virtualHubRouteTableV2Parameters- Parameters supplied to create or update VirtualHubRouteTableV2.context- The context to associate with this operation.- Returns:
- virtualHubRouteTableV2 Resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 VirtualHubRouteTableV2.- Parameters:
resourceGroupName- The resource group name of the VirtualHubRouteTableV2.virtualHubName- The name of the VirtualHub.routeTableName- The name of the VirtualHubRouteTableV2.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<VirtualHubRouteTableV2Inner> listAsync(String resourceGroupName, String virtualHubName) Retrieves the details of all VirtualHubRouteTableV2s.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of VirtualHubRouteTableV2s 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<VirtualHubRouteTableV2Inner> list(String resourceGroupName, String virtualHubName) Retrieves the details of all VirtualHubRouteTableV2s.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- list of VirtualHubRouteTableV2s 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<VirtualHubRouteTableV2Inner> list(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of all VirtualHubRouteTableV2s.- 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 VirtualHubRouteTableV2s 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.
-