Interface VirtualHubsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualHubInner>,InnerSupportsListing<VirtualHubInner>
public interface VirtualHubsClient
extends InnerSupportsGet<VirtualHubInner>, InnerSupportsListing<VirtualHubInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualHubsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubInner>, VirtualHubInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubInner>, VirtualHubInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters, com.azure.core.util.Context context) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubInner>, VirtualHubInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.beginDelete(String resourceGroupName, String virtualHubName) Deletes a VirtualHub.beginDelete(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Deletes a VirtualHub.beginDeleteAsync(String resourceGroupName, String virtualHubName) Deletes a VirtualHub.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>, VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>, VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, com.azure.core.util.Context context) Gets the effective routes configured for the Virtual Hub resource or the specified resource .com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>, VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>, VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, com.azure.core.util.Context context) Gets the inbound routes configured for the Virtual Hub on a particular connection.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, com.azure.core.util.Context context) Gets the outbound routes configured for the Virtual Hub on a particular connection.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>, EffectiveRouteMapRouteListInner> beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.createOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.createOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters, com.azure.core.util.Context context) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.createOrUpdateAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.voidDeletes a VirtualHub.voidDeletes a VirtualHub.deleteAsync(String resourceGroupName, String virtualHubName) Deletes a VirtualHub.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName) Deletes a VirtualHub.getByResourceGroup(String resourceGroupName, String virtualHubName) Retrieves the details of a VirtualHub.getByResourceGroupAsync(String resourceGroupName, String virtualHubName) Retrieves the details of a VirtualHub.com.azure.core.http.rest.Response<VirtualHubInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of a VirtualHub.Mono<com.azure.core.http.rest.Response<VirtualHubInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualHubName) Retrieves the details of a VirtualHub.getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, com.azure.core.util.Context context) Gets the effective routes configured for the Virtual Hub resource or the specified resource .getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, com.azure.core.util.Context context) Gets the inbound routes configured for the Virtual Hub on a particular connection.getInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, com.azure.core.util.Context context) Gets the outbound routes configured for the Virtual Hub on a particular connection.getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.com.azure.core.http.rest.PagedIterable<VirtualHubInner> list()Lists all the VirtualHubs in a subscription.com.azure.core.http.rest.PagedIterable<VirtualHubInner> list(com.azure.core.util.Context context) Lists all the VirtualHubs in a subscription.com.azure.core.http.rest.PagedFlux<VirtualHubInner> Lists all the VirtualHubs in a subscription.com.azure.core.http.rest.PagedIterable<VirtualHubInner> listByResourceGroup(String resourceGroupName) Lists all the VirtualHubs in a resource group.com.azure.core.http.rest.PagedIterable<VirtualHubInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VirtualHubs in a resource group.com.azure.core.http.rest.PagedFlux<VirtualHubInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VirtualHubs in a resource group.updateTags(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.updateTagsAsync(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.com.azure.core.http.rest.Response<VirtualHubInner> updateTagsWithResponse(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters, com.azure.core.util.Context context) Updates VirtualHub tags.Mono<com.azure.core.http.rest.Response<VirtualHubInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualHubInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualHubName) Retrieves the details of a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- virtualHub 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.
-
getByResourceGroupAsync
Retrieves the details of a VirtualHub.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualHubInner>- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- virtualHub 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VirtualHubInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualHubName, com.azure.core.util.Context context) Retrieves the details of a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.context- The context to associate with this operation.- Returns:
- virtualHub 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.
-
getByResourceGroup
Retrieves the details of a VirtualHub.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualHubInner>- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- virtualHub 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.- Returns:
- virtualHub 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<VirtualHubInner>,VirtualHubInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.- Returns:
- the
PollerFluxfor polling of virtualHub 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<VirtualHubInner>,VirtualHubInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.- Returns:
- the
SyncPollerfor polling of virtualHub 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<VirtualHubInner>,VirtualHubInner> beginCreateOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters, com.azure.core.util.Context context) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of virtualHub 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<VirtualHubInner> createOrUpdateAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.- Returns:
- virtualHub 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
VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.- Returns:
- virtualHub 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
VirtualHubInner createOrUpdate(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters, com.azure.core.util.Context context) Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to create or update VirtualHub.context- The context to associate with this operation.- Returns:
- virtualHub 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<VirtualHubInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to update VirtualHub tags.- Returns:
- virtualHub 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<VirtualHubInner> updateTagsAsync(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to update VirtualHub tags.- Returns:
- virtualHub 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<VirtualHubInner> updateTagsWithResponse(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters, com.azure.core.util.Context context) Updates VirtualHub tags.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to update VirtualHub tags.context- The context to associate with this operation.- Returns:
- virtualHub 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.
-
updateTags
VirtualHubInner updateTags(String resourceGroupName, String virtualHubName, TagsObject virtualHubParameters) Updates VirtualHub tags.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.virtualHubParameters- Parameters supplied to update VirtualHub tags.- Returns:
- virtualHub 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualHubName) Deletes a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- 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) Deletes a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- 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) Deletes a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- 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, com.azure.core.util.Context context) Deletes a VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.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 VirtualHub.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- 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 VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- 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 VirtualHub.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VirtualHubInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VirtualHubs in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VirtualHubInner>- Parameters:
resourceGroupName- The resource group name of the VirtualHub.- Returns:
- result of the request to list VirtualHubs 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<VirtualHubInner> listByResourceGroup(String resourceGroupName) Lists all the VirtualHubs in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VirtualHubInner>- Parameters:
resourceGroupName- The resource group name of the VirtualHub.- Returns:
- result of the request to list VirtualHubs 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<VirtualHubInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VirtualHubs in a resource group.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.context- The context to associate with this operation.- Returns:
- result of the request to list VirtualHubs 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<VirtualHubInner> listAsync()Lists all the VirtualHubs in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VirtualHubInner>- Returns:
- result of the request to list VirtualHubs 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<VirtualHubInner> list()Lists all the VirtualHubs in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VirtualHubInner>- Returns:
- result of the request to list VirtualHubs 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
Lists all the VirtualHubs in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list VirtualHubs 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.
-
getEffectiveVirtualHubRoutesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getEffectiveVirtualHubRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.effectiveRoutesParameters- Parameters supplied to get the effective routes for a specific resource.- Returns:
- the effective routes configured for the Virtual Hub resource or the specified 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.
-
beginGetEffectiveVirtualHubRoutesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>,VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.effectiveRoutesParameters- Parameters supplied to get the effective routes for a specific resource.- Returns:
- the
PollerFluxfor polling of the effective routes configured for the Virtual Hub resource or the specified 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.
-
beginGetEffectiveVirtualHubRoutesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>,VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- the
PollerFluxfor polling of the effective routes configured for the Virtual Hub resource or the specified 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.
-
beginGetEffectiveVirtualHubRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>,VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- the
SyncPollerfor polling of the effective routes configured for the Virtual Hub resource or the specified 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.
-
beginGetEffectiveVirtualHubRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualHubEffectiveRouteListInner>,VirtualHubEffectiveRouteListInner> beginGetEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, com.azure.core.util.Context context) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.effectiveRoutesParameters- Parameters supplied to get the effective routes for a specific resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the effective routes configured for the Virtual Hub resource or the specified 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.
-
getEffectiveVirtualHubRoutesAsync
Mono<VirtualHubEffectiveRouteListInner> getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.effectiveRoutesParameters- Parameters supplied to get the effective routes for a specific resource.- Returns:
- the effective routes configured for the Virtual Hub resource or the specified 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.
-
getEffectiveVirtualHubRoutesAsync
Mono<VirtualHubEffectiveRouteListInner> getEffectiveVirtualHubRoutesAsync(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- the effective routes configured for the Virtual Hub resource or the specified 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.
-
getEffectiveVirtualHubRoutes
VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.- Returns:
- the effective routes configured for the Virtual Hub resource or the specified 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.
-
getEffectiveVirtualHubRoutes
VirtualHubEffectiveRouteListInner getEffectiveVirtualHubRoutes(String resourceGroupName, String virtualHubName, EffectiveRoutesParameters effectiveRoutesParameters, com.azure.core.util.Context context) Gets the effective routes configured for the Virtual Hub resource or the specified resource .- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.effectiveRoutesParameters- Parameters supplied to get the effective routes for a specific resource.context- The context to associate with this operation.- Returns:
- the effective routes configured for the Virtual Hub resource or the specified 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.
-
getInboundRoutesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getInboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.- Returns:
- the inbound routes configured for the Virtual Hub on a particular connection 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.
-
beginGetInboundRoutesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.- Returns:
- the
PollerFluxfor polling of the inbound routes configured for the Virtual Hub on a particular connection. - 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.
-
beginGetInboundRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.- Returns:
- the
SyncPollerfor polling of the inbound routes configured for the Virtual Hub on a particular connection. - 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.
-
beginGetInboundRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, com.azure.core.util.Context context) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the inbound routes configured for the Virtual Hub on a particular connection. - 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.
-
getInboundRoutesAsync
Mono<EffectiveRouteMapRouteListInner> getInboundRoutesAsync(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.- Returns:
- the inbound routes configured for the Virtual Hub on a particular connection 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.
-
getInboundRoutes
EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.- Returns:
- the inbound routes configured for the Virtual Hub on a particular connection.
- 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.
-
getInboundRoutes
EffectiveRouteMapRouteListInner getInboundRoutes(String resourceGroupName, String virtualHubName, GetInboundRoutesParameters getInboundRoutesParameters, com.azure.core.util.Context context) Gets the inbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getInboundRoutesParameters- Parameters supplied to get the inbound routes for a connection resource.context- The context to associate with this operation.- Returns:
- the inbound routes configured for the Virtual Hub on a particular connection.
- 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.
-
getOutboundRoutesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getOutboundRoutesWithResponseAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.- Returns:
- the outbound routes configured for the Virtual Hub on a particular connection 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.
-
beginGetOutboundRoutesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.- Returns:
- the
PollerFluxfor polling of the outbound routes configured for the Virtual Hub on a particular connection. - 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.
-
beginGetOutboundRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.- Returns:
- the
SyncPollerfor polling of the outbound routes configured for the Virtual Hub on a particular connection. - 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.
-
beginGetOutboundRoutes
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EffectiveRouteMapRouteListInner>,EffectiveRouteMapRouteListInner> beginGetOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, com.azure.core.util.Context context) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the outbound routes configured for the Virtual Hub on a particular connection. - 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.
-
getOutboundRoutesAsync
Mono<EffectiveRouteMapRouteListInner> getOutboundRoutesAsync(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.- Returns:
- the outbound routes configured for the Virtual Hub on a particular connection 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.
-
getOutboundRoutes
EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.- Returns:
- the outbound routes configured for the Virtual Hub on a particular connection.
- 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.
-
getOutboundRoutes
EffectiveRouteMapRouteListInner getOutboundRoutes(String resourceGroupName, String virtualHubName, GetOutboundRoutesParameters getOutboundRoutesParameters, com.azure.core.util.Context context) Gets the outbound routes configured for the Virtual Hub on a particular connection.- Parameters:
resourceGroupName- The resource group name of the VirtualHub.virtualHubName- The name of the VirtualHub.getOutboundRoutesParameters- Parameters supplied to get the outbound routes for a connection resource.context- The context to associate with this operation.- Returns:
- the outbound routes configured for the Virtual Hub on a particular connection.
- 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.
-