Interface HubRouteTablesClient


  • public interface HubRouteTablesClient
    An instance of this class provides access to all the operations defined in HubRouteTablesClient.
    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String virtualHubName,
                                                                                                  String routeTableName,
                                                                                                  HubRouteTableInner routeTableParameters)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        Returns:
        routeTable resource in a virtual hub 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<HubRouteTableInner>,​HubRouteTableInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                   String virtualHubName,
                                                                                                                                                                   String routeTableName,
                                                                                                                                                                   HubRouteTableInner routeTableParameters)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        Returns:
        the PollerFlux for polling of routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubRouteTableInner>,​HubRouteTableInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String routeTableName,
                                                                                                                                                              HubRouteTableInner routeTableParameters)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        Returns:
        the SyncPoller for polling of routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<HubRouteTableInner>,​HubRouteTableInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                              String virtualHubName,
                                                                                                                                                              String routeTableName,
                                                                                                                                                              HubRouteTableInner routeTableParameters,
                                                                                                                                                              com.azure.core.util.Context context)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<HubRouteTableInner> createOrUpdateAsync​(String resourceGroupName,
                                                     String virtualHubName,
                                                     String routeTableName,
                                                     HubRouteTableInner routeTableParameters)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        Returns:
        routeTable resource in a virtual hub on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        HubRouteTableInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String routeTableName,
                                          HubRouteTableInner routeTableParameters)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        Returns:
        routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        HubRouteTableInner createOrUpdate​(String resourceGroupName,
                                          String virtualHubName,
                                          String routeTableName,
                                          HubRouteTableInner routeTableParameters,
                                          com.azure.core.util.Context context)
        Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        routeTableParameters - Parameters supplied to create or update RouteTable.
        context - The context to associate with this operation.
        Returns:
        routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<HubRouteTableInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                         String virtualHubName,
                                                                                         String routeTableName)
        Retrieves the details of a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        Returns:
        routeTable resource in a virtual hub 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.
      • getAsync

        Mono<HubRouteTableInner> getAsync​(String resourceGroupName,
                                          String virtualHubName,
                                          String routeTableName)
        Retrieves the details of a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        Returns:
        routeTable resource in a virtual hub on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        HubRouteTableInner get​(String resourceGroupName,
                               String virtualHubName,
                               String routeTableName)
        Retrieves the details of a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        Returns:
        routeTable resource in a virtual hub.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<HubRouteTableInner> getWithResponse​(String resourceGroupName,
                                                                              String virtualHubName,
                                                                              String routeTableName,
                                                                              com.azure.core.util.Context context)
        Retrieves the details of a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        context - The context to associate with this operation.
        Returns:
        routeTable resource in a virtual hub along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String virtualHubName,
                                                                                          String routeTableName)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        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,
                                                                                                                               String routeTableName)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        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,
                                                                                                                          String routeTableName)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        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,
                                                                                                                          String routeTableName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        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,
                               String routeTableName)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        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,
                    String routeTableName)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String virtualHubName,
                    String routeTableName,
                    com.azure.core.util.Context context)
        Deletes a RouteTable.
        Parameters:
        resourceGroupName - The resource group name of the RouteTable.
        virtualHubName - The name of the VirtualHub.
        routeTableName - The name of the RouteTable.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAsync

        com.azure.core.http.rest.PagedFlux<HubRouteTableInner> listAsync​(String resourceGroupName,
                                                                         String virtualHubName)
        Retrieves the details of all RouteTables.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        list of RouteTables and a URL nextLink to get the next set of results as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<HubRouteTableInner> list​(String resourceGroupName,
                                                                        String virtualHubName)
        Retrieves the details of all RouteTables.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        Returns:
        list of RouteTables and a URL nextLink to get the next set of results as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<HubRouteTableInner> list​(String resourceGroupName,
                                                                        String virtualHubName,
                                                                        com.azure.core.util.Context context)
        Retrieves the details of all RouteTables.
        Parameters:
        resourceGroupName - The resource group name of the VirtualHub.
        virtualHubName - The name of the VirtualHub.
        context - The context to associate with this operation.
        Returns:
        list of RouteTables and a URL nextLink to get the next set of results as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.