Interface VirtualHubsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<VirtualHubInner>, InnerSupportsListing<VirtualHubInner>

An instance of this class provides access to all the operations defined in VirtualHubsClient.
  • 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 Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<VirtualHubInner> getByResourceGroupAsync(String resourceGroupName, String virtualHubName)
      Retrieves the details of a VirtualHub.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      VirtualHubInner getByResourceGroup(String resourceGroupName, String virtualHubName)
      Retrieves the details of a VirtualHub.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String virtualHubName)
      Deletes a VirtualHub.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The resource group name of the VirtualHub.
      virtualHubName - The name of the VirtualHub.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String virtualHubName)
      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

      void delete(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.
      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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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

      com.azure.core.http.rest.PagedIterable<VirtualHubInner> list(com.azure.core.util.Context context)
      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 Response 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.
    • 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 PollerFlux for 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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.