Interface LoadBalancersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<LoadBalancerInner>, InnerSupportsListing<LoadBalancerInner>

An instance of this class provides access to all the operations defined in LoadBalancersClient.
  • Method Details

    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String loadBalancerName)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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, com.azure.core.util.Context context)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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)
      Deletes the specified load balancer.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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, com.azure.core.util.Context context)
      Deletes the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      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<LoadBalancerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String loadBalancerName, String expand)
      Gets the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      expand - Expands referenced resources.
      Returns:
      the specified load balancer 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<LoadBalancerInner> getByResourceGroupAsync(String resourceGroupName, String loadBalancerName)
      Gets the specified load balancer.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<LoadBalancerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      the specified load balancer 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<LoadBalancerInner> getByResourceGroupWithResponse(String resourceGroupName, String loadBalancerName, String expand, com.azure.core.util.Context context)
      Gets the specified load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      expand - Expands referenced resources.
      context - The context to associate with this operation.
      Returns:
      the specified load balancer 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.
    • getByResourceGroup

      LoadBalancerInner getByResourceGroup(String resourceGroupName, String loadBalancerName)
      Gets the specified load balancer.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<LoadBalancerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      the specified load balancer.
      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, LoadBalancerInner parameters)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      Returns:
      loadBalancer 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<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdateAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      Returns:
      the PollerFlux for polling of loadBalancer 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<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      Returns:
      the SyncPoller for polling of loadBalancer 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<LoadBalancerInner>,LoadBalancerInner> beginCreateOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of loadBalancer 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<LoadBalancerInner> createOrUpdateAsync(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      Returns:
      loadBalancer 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

      LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      Returns:
      loadBalancer 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

      LoadBalancerInner createOrUpdate(String resourceGroupName, String loadBalancerName, LoadBalancerInner parameters, com.azure.core.util.Context context)
      Creates or updates a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the create or update load balancer operation.
      context - The context to associate with this operation.
      Returns:
      loadBalancer 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<LoadBalancerInner>> updateTagsWithResponseAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters)
      Updates a load balancer tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to update load balancer tags.
      Returns:
      loadBalancer 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<LoadBalancerInner> updateTagsAsync(String resourceGroupName, String loadBalancerName, TagsObject parameters)
      Updates a load balancer tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to update load balancer tags.
      Returns:
      loadBalancer 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.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<LoadBalancerInner> updateTagsWithResponse(String resourceGroupName, String loadBalancerName, TagsObject parameters, com.azure.core.util.Context context)
      Updates a load balancer tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to update load balancer tags.
      context - The context to associate with this operation.
      Returns:
      loadBalancer 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.
    • updateTags

      LoadBalancerInner updateTags(String resourceGroupName, String loadBalancerName, TagsObject parameters)
      Updates a load balancer tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to update load balancer tags.
      Returns:
      loadBalancer 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listAsync()
      Gets all the load balancers in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<LoadBalancerInner>
      Returns:
      all the load balancers 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<LoadBalancerInner> list()
      Gets all the load balancers in a subscription.
      Specified by:
      list in interface InnerSupportsListing<LoadBalancerInner>
      Returns:
      all the load balancers 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<LoadBalancerInner> list(com.azure.core.util.Context context)
      Gets all the load balancers in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the load balancers 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<LoadBalancerInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all the load balancers in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<LoadBalancerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the load balancers 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<LoadBalancerInner> listByResourceGroup(String resourceGroupName)
      Gets all the load balancers in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<LoadBalancerInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all the load balancers 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<LoadBalancerInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all the load balancers in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all the load balancers 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.
    • swapPublicIpAddressesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> swapPublicIpAddressesWithResponseAsync(String location, LoadBalancerVipSwapRequest parameters)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • beginSwapPublicIpAddressesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • beginSwapPublicIpAddresses

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • beginSwapPublicIpAddresses

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSwapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • swapPublicIpAddressesAsync

      Mono<Void> swapPublicIpAddressesAsync(String location, LoadBalancerVipSwapRequest parameters)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • swapPublicIpAddresses

      void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • swapPublicIpAddresses

      void swapPublicIpAddresses(String location, LoadBalancerVipSwapRequest parameters, com.azure.core.util.Context context)
      Swaps VIPs between two load balancers.
      Parameters:
      location - The region where load balancers are located at.
      parameters - Parameters that define which VIPs should be swapped.
      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.
    • listInboundNatRulePortMappingsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> listInboundNatRulePortMappingsWithResponseAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      Returns:
      the response for a QueryInboundNatRulePortMapping API 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.
    • beginListInboundNatRulePortMappingsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      Returns:
      the PollerFlux for polling of the response for a QueryInboundNatRulePortMapping API.
      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.
    • beginListInboundNatRulePortMappings

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      Returns:
      the SyncPoller for polling of the response for a QueryInboundNatRulePortMapping API.
      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.
    • beginListInboundNatRulePortMappings

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackendAddressInboundNatRulePortMappingsInner>,BackendAddressInboundNatRulePortMappingsInner> beginListInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the response for a QueryInboundNatRulePortMapping API.
      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.
    • listInboundNatRulePortMappingsAsync

      Mono<BackendAddressInboundNatRulePortMappingsInner> listInboundNatRulePortMappingsAsync(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      Returns:
      the response for a QueryInboundNatRulePortMapping API 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.
    • listInboundNatRulePortMappings

      BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      Returns:
      the response for a QueryInboundNatRulePortMapping API.
      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.
    • listInboundNatRulePortMappings

      BackendAddressInboundNatRulePortMappingsInner listInboundNatRulePortMappings(String groupName, String loadBalancerName, String backendPoolName, QueryInboundNatRulePortMappingRequest parameters, com.azure.core.util.Context context)
      List of inbound NAT rule port mappings.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      backendPoolName - The name of the load balancer backend address pool.
      parameters - Query inbound NAT rule port mapping request.
      context - The context to associate with this operation.
      Returns:
      the response for a QueryInboundNatRulePortMapping API.
      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.
    • migrateToIpBasedWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MigratedPoolsInner>> migrateToIpBasedWithResponseAsync(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters)
      Migrate load balancer to IP Based.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the migrateToIpBased Api.
      Returns:
      the response for a migrateToIpBased API 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.
    • migrateToIpBasedAsync

      Mono<MigratedPoolsInner> migrateToIpBasedAsync(String groupName, String loadBalancerName)
      Migrate load balancer to IP Based.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      the response for a migrateToIpBased API 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.
    • migrateToIpBasedWithResponse

      com.azure.core.http.rest.Response<MigratedPoolsInner> migrateToIpBasedWithResponse(String groupName, String loadBalancerName, MigrateLoadBalancerToIpBasedRequest parameters, com.azure.core.util.Context context)
      Migrate load balancer to IP Based.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      parameters - Parameters supplied to the migrateToIpBased Api.
      context - The context to associate with this operation.
      Returns:
      the response for a migrateToIpBased API 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.
    • migrateToIpBased

      MigratedPoolsInner migrateToIpBased(String groupName, String loadBalancerName)
      Migrate load balancer to IP Based.
      Parameters:
      groupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      the response for a migrateToIpBased API.
      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.