Interface LoadBalancerLoadBalancingRulesClient
public interface LoadBalancerLoadBalancingRulesClient
An instance of this class provides access to all the operations defined in LoadBalancerLoadBalancingRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the specified load balancer load balancing rule.Gets the specified load balancer load balancing rule.com.azure.core.http.rest.Response<LoadBalancingRuleInner>getWithResponse(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Gets the specified load balancer load balancing rule.Mono<com.azure.core.http.rest.Response<LoadBalancingRuleInner>>getWithResponseAsync(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) Gets the specified load balancer load balancing rule.com.azure.core.http.rest.PagedIterable<LoadBalancingRuleInner>Gets all the load balancing rules in a load balancer.com.azure.core.http.rest.PagedIterable<LoadBalancingRuleInner>Gets all the load balancing rules in a load balancer.com.azure.core.http.rest.PagedFlux<LoadBalancingRuleInner>Gets all the load balancing rules in a load balancer.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<LoadBalancingRuleInner> listAsync(String resourceGroupName, String loadBalancerName) Gets all the load balancing rules in a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- all the load balancing 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<LoadBalancingRuleInner> list(String resourceGroupName, String loadBalancerName) Gets all the load balancing rules in a load balancer.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.- Returns:
- all the load balancing 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<LoadBalancingRuleInner> list(String resourceGroupName, String loadBalancerName, com.azure.core.util.Context context) Gets all the load balancing 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 load balancing 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<LoadBalancingRuleInner>> getWithResponseAsync(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) Gets the specified load balancer load balancing rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- the specified load balancer load balancing rule along with
Responseon successful completion ofMono. - 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<LoadBalancingRuleInner> getAsync(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) Gets the specified load balancer load balancing rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- the specified load balancer load balancing 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<LoadBalancingRuleInner> getWithResponse(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Gets the specified load balancer load balancing rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.context- The context to associate with this operation.- Returns:
- the specified load balancer load balancing 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
LoadBalancingRuleInner get(String resourceGroupName, String loadBalancerName, String loadBalancingRuleName) Gets the specified load balancer load balancing rule.- Parameters:
resourceGroupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- the specified load balancer load balancing 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.
-