Interface LoadBalancerOutboundRulesClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<OutboundRuleInner> listAsync(String resourceGroupName, String loadBalancerName)
      Gets all the outbound rules in a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      all the outbound rules in a load balancer 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<OutboundRuleInner> list(String resourceGroupName, String loadBalancerName)
      Gets all the outbound rules in a load balancer.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      Returns:
      all the outbound rules in a load balancer 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<OutboundRuleInner> list(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context)
      Gets all the outbound rules in a 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:
      all the outbound rules in a load balancer 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<OutboundRuleInner>> getWithResponseAsync(String resourceGroupName, String loadBalancerName, String outboundRuleName)
      Gets the specified load balancer outbound rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      outboundRuleName - The name of the outbound rule.
      Returns:
      the specified load balancer outbound rule 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<OutboundRuleInner> getAsync(String resourceGroupName, String loadBalancerName, String outboundRuleName)
      Gets the specified load balancer outbound rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      outboundRuleName - The name of the outbound rule.
      Returns:
      the specified load balancer outbound rule 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.
    • getWithResponse

      com.azure.core.http.rest.Response<OutboundRuleInner> getWithResponse(String resourceGroupName, String loadBalancerName, String outboundRuleName, com.azure.core.util.Context context)
      Gets the specified load balancer outbound rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      outboundRuleName - The name of the outbound rule.
      context - The context to associate with this operation.
      Returns:
      the specified load balancer outbound rule 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.
    • get

      OutboundRuleInner get(String resourceGroupName, String loadBalancerName, String outboundRuleName)
      Gets the specified load balancer outbound rule.
      Parameters:
      resourceGroupName - The name of the resource group.
      loadBalancerName - The name of the load balancer.
      outboundRuleName - The name of the outbound rule.
      Returns:
      the specified load balancer outbound rule.
      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.