Interface RouteFiltersClient

    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String routeFilterName)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName)
        Deletes the specified route filter.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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 routeFilterName,
                    com.azure.core.util.Context context)
        Deletes the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        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<RouteFilterInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                      String routeFilterName,
                                                                                                      String expand)
        Gets the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        expand - Expands referenced express route bgp peering resources.
        Returns:
        the specified route filter 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<RouteFilterInner> getByResourceGroupAsync​(String resourceGroupName,
                                                       String routeFilterName,
                                                       String expand)
        Gets the specified route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        expand - Expands referenced express route bgp peering resources.
        Returns:
        the specified route filter 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<RouteFilterInner> getByResourceGroupAsync​(String resourceGroupName,
                                                       String routeFilterName)
        Gets the specified route filter.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<RouteFilterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        Returns:
        the specified route filter 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

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

        RouteFilterInner createOrUpdate​(String resourceGroupName,
                                        String routeFilterName,
                                        RouteFilterInner routeFilterParameters)
        Creates or updates a route filter in a specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        routeFilterParameters - Parameters supplied to the create or update route filter operation.
        Returns:
        route Filter 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

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

        RouteFilterInner updateTags​(String resourceGroupName,
                                    String routeFilterName,
                                    TagsObject parameters)
        Updates tags of a route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        parameters - Parameters supplied to update route filter tags.
        Returns:
        route Filter 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<RouteFilterInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                   String routeFilterName,
                                                                                   TagsObject parameters,
                                                                                   com.azure.core.util.Context context)
        Updates tags of a route filter.
        Parameters:
        resourceGroupName - The name of the resource group.
        routeFilterName - The name of the route filter.
        parameters - Parameters supplied to update route filter tags.
        context - The context to associate with this operation.
        Returns:
        route Filter 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<RouteFilterInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets all route filters in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<RouteFilterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all route filters 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<RouteFilterInner> listByResourceGroup​(String resourceGroupName)
        Gets all route filters in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<RouteFilterInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        all route filters 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<RouteFilterInner> listByResourceGroup​(String resourceGroupName,
                                                                                     com.azure.core.util.Context context)
        Gets all route filters in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        all route filters 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<RouteFilterInner> listAsync()
        Gets all route filters in a subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<RouteFilterInner>
        Returns:
        all route filters 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<RouteFilterInner> list()
        Gets all route filters in a subscription.
        Specified by:
        list in interface InnerSupportsListing<RouteFilterInner>
        Returns:
        all route filters 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<RouteFilterInner> list​(com.azure.core.util.Context context)
        Gets all route filters in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        all route filters 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.