Interface RouteTablesClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String routeTableName)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName)
        Deletes the specified route table.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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 routeTableName,
                    com.azure.core.util.Context context)
        Deletes the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RouteTableInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                     String routeTableName,
                                                                                                     String expand)
        Gets the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        expand - Expands referenced resources.
        Returns:
        the specified route table 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<RouteTableInner> getByResourceGroupAsync​(String resourceGroupName,
                                                      String routeTableName,
                                                      String expand)
        Gets the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        expand - Expands referenced resources.
        Returns:
        the specified route table 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<RouteTableInner> getByResourceGroupAsync​(String resourceGroupName,
                                                      String routeTableName)
        Gets the specified route table.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<RouteTableInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        Returns:
        the specified route table 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

        RouteTableInner getByResourceGroup​(String resourceGroupName,
                                           String routeTableName)
        Gets the specified route table.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<RouteTableInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        Returns:
        the specified route table.
        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<RouteTableInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                          String routeTableName,
                                                                                          String expand,
                                                                                          com.azure.core.util.Context context)
        Gets the specified route table.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        expand - Expands referenced resources.
        context - The context to associate with this operation.
        Returns:
        the specified route table 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 routeTableName,
                                                                                                  RouteTableInner parameters)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        Returns:
        route table 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<RouteTableInner>,​RouteTableInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                             String routeTableName,
                                                                                                                                                             RouteTableInner parameters)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        Returns:
        the PollerFlux for polling of route table 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<RouteTableInner>,​RouteTableInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String routeTableName,
                                                                                                                                                        RouteTableInner parameters)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        Returns:
        the SyncPoller for polling of route table 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<RouteTableInner>,​RouteTableInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String routeTableName,
                                                                                                                                                        RouteTableInner parameters,
                                                                                                                                                        com.azure.core.util.Context context)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of route table 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<RouteTableInner> createOrUpdateAsync​(String resourceGroupName,
                                                  String routeTableName,
                                                  RouteTableInner parameters)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        Returns:
        route table 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

        RouteTableInner createOrUpdate​(String resourceGroupName,
                                       String routeTableName,
                                       RouteTableInner parameters)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        Returns:
        route table 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

        RouteTableInner createOrUpdate​(String resourceGroupName,
                                       String routeTableName,
                                       RouteTableInner parameters,
                                       com.azure.core.util.Context context)
        Create or updates a route table in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to the create or update route table operation.
        context - The context to associate with this operation.
        Returns:
        route table 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<RouteTableInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                             String routeTableName,
                                                                                             TagsObject parameters)
        Updates a route table tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to update route table tags.
        Returns:
        route table 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<RouteTableInner> updateTagsAsync​(String resourceGroupName,
                                              String routeTableName,
                                              TagsObject parameters)
        Updates a route table tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to update route table tags.
        Returns:
        route table 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

        RouteTableInner updateTags​(String resourceGroupName,
                                   String routeTableName,
                                   TagsObject parameters)
        Updates a route table tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to update route table tags.
        Returns:
        route table 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<RouteTableInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                  String routeTableName,
                                                                                  TagsObject parameters,
                                                                                  com.azure.core.util.Context context)
        Updates a route table tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeTableName - The name of the route table.
        parameters - Parameters supplied to update route table tags.
        context - The context to associate with this operation.
        Returns:
        route table 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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<RouteTableInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets all route tables in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<RouteTableInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all route tables in a resource group 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<RouteTableInner> listByResourceGroup​(String resourceGroupName)
        Gets all route tables in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<RouteTableInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all route tables in a resource group 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<RouteTableInner> listByResourceGroup​(String resourceGroupName,
                                                                                    com.azure.core.util.Context context)
        Gets all route tables in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all route tables in a resource group 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<RouteTableInner> listAsync()
        Gets all route tables in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<RouteTableInner>
        Returns:
        all route tables in a subscription 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<RouteTableInner> list()
        Gets all route tables in a subscription.
        Specified by:
        list in interface InnerSupportsListing<RouteTableInner>
        Returns:
        all route tables in a subscription 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<RouteTableInner> list​(com.azure.core.util.Context context)
        Gets all route tables in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all route tables in a subscription 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.