Interface VirtualHubsClient

    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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<Void>,​Void> 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.
      • beginGetEffectiveVirtualHubRoutes

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginGetEffectiveVirtualHubRoutes​(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 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<Void>,​Void> 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<Void> 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<Void> 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

        void getEffectiveVirtualHubRoutes​(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.
        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

        void 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.
        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

        void 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.
        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.