Interface LoadBalancerBackendAddressPoolsClient


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

      • listAsync

        com.azure.core.http.rest.PagedFlux<BackendAddressPoolInner> listAsync​(String resourceGroupName,
                                                                              String loadBalancerName)
        Gets all the load balancer backed address pools.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        Returns:
        all the load balancer backed address pools 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<BackendAddressPoolInner> list​(String resourceGroupName,
                                                                             String loadBalancerName)
        Gets all the load balancer backed address pools.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        Returns:
        all the load balancer backed address pools 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<BackendAddressPoolInner> list​(String resourceGroupName,
                                                                             String loadBalancerName,
                                                                             com.azure.core.util.Context context)
        Gets all the load balancer backed address pools.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        context - The context to associate with this operation.
        Returns:
        all the load balancer backed address pools 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.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<BackendAddressPoolInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                              String loadBalancerName,
                                                                                              String backendAddressPoolName)
        Gets load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        Returns:
        load balancer backend address pool 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<BackendAddressPoolInner> getAsync​(String resourceGroupName,
                                               String loadBalancerName,
                                               String backendAddressPoolName)
        Gets load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        Returns:
        load balancer backend address pool 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

        BackendAddressPoolInner get​(String resourceGroupName,
                                    String loadBalancerName,
                                    String backendAddressPoolName)
        Gets load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        Returns:
        load balancer backend address pool.
        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<BackendAddressPoolInner> getWithResponse​(String resourceGroupName,
                                                                                   String loadBalancerName,
                                                                                   String backendAddressPoolName,
                                                                                   com.azure.core.util.Context context)
        Gets load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        context - The context to associate with this operation.
        Returns:
        load balancer backend address pool 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 loadBalancerName,
                                                                                                  String backendAddressPoolName,
                                                                                                  BackendAddressPoolInner parameters)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        Returns:
        pool of backend IP addresses 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<BackendAddressPoolInner>,​BackendAddressPoolInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                             String loadBalancerName,
                                                                                                                                                                             String backendAddressPoolName,
                                                                                                                                                                             BackendAddressPoolInner parameters)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        Returns:
        the PollerFlux for polling of pool of backend IP addresses.
        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<BackendAddressPoolInner>,​BackendAddressPoolInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String loadBalancerName,
                                                                                                                                                                        String backendAddressPoolName,
                                                                                                                                                                        BackendAddressPoolInner parameters)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        Returns:
        the SyncPoller for polling of pool of backend IP addresses.
        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<BackendAddressPoolInner>,​BackendAddressPoolInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                        String loadBalancerName,
                                                                                                                                                                        String backendAddressPoolName,
                                                                                                                                                                        BackendAddressPoolInner parameters,
                                                                                                                                                                        com.azure.core.util.Context context)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of pool of backend IP addresses.
        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<BackendAddressPoolInner> createOrUpdateAsync​(String resourceGroupName,
                                                          String loadBalancerName,
                                                          String backendAddressPoolName,
                                                          BackendAddressPoolInner parameters)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        Returns:
        pool of backend IP addresses 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

        BackendAddressPoolInner createOrUpdate​(String resourceGroupName,
                                               String loadBalancerName,
                                               String backendAddressPoolName,
                                               BackendAddressPoolInner parameters)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        Returns:
        pool of backend IP addresses.
        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

        BackendAddressPoolInner createOrUpdate​(String resourceGroupName,
                                               String loadBalancerName,
                                               String backendAddressPoolName,
                                               BackendAddressPoolInner parameters,
                                               com.azure.core.util.Context context)
        Creates or updates a load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        parameters - Parameters supplied to the create or update load balancer backend address pool operation.
        context - The context to associate with this operation.
        Returns:
        pool of backend IP addresses.
        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 loadBalancerName,
                                                                                          String backendAddressPoolName)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                                                                                                                               String backendAddressPoolName)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                                                                                                                          String backendAddressPoolName)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                                                                                                                          String backendAddressPoolName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                               String backendAddressPoolName)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                    String backendAddressPoolName)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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 loadBalancerName,
                    String backendAddressPoolName,
                    com.azure.core.util.Context context)
        Deletes the specified load balancer backend address pool.
        Parameters:
        resourceGroupName - The name of the resource group.
        loadBalancerName - The name of the load balancer.
        backendAddressPoolName - The name of the backend address pool.
        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.