Interface LoadBalancerLoadBalancingRulesClient
public interface LoadBalancerLoadBalancingRulesClient
An instance of this class provides access to all the operations defined in LoadBalancerLoadBalancingRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner> beginHealth(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner> beginHealth(String groupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Get health details of a load balancing rule.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>, LoadBalancerHealthPerRuleInner> beginHealthAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.Gets 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.Get health details of a load balancing rule.health(String groupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Get health details of a load balancing rule.healthAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> healthWithResponseAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a 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.
-
healthWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> healthWithResponseAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- health details of a 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.
-
beginHealthAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>,LoadBalancerHealthPerRuleInner> beginHealthAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- the
PollerFluxfor polling of health details of a 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.
-
beginHealth
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>,LoadBalancerHealthPerRuleInner> beginHealth(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- the
SyncPollerfor polling of health details of a 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.
-
beginHealth
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LoadBalancerHealthPerRuleInner>,LoadBalancerHealthPerRuleInner> beginHealth(String groupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Get health details of a load balancing rule.- Parameters:
groupName- 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
SyncPollerfor polling of health details of a 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.
-
healthAsync
Mono<LoadBalancerHealthPerRuleInner> healthAsync(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- health details of a 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.
-
health
LoadBalancerHealthPerRuleInner health(String groupName, String loadBalancerName, String loadBalancingRuleName) Get health details of a load balancing rule.- Parameters:
groupName- The name of the resource group.loadBalancerName- The name of the load balancer.loadBalancingRuleName- The name of the load balancing rule.- Returns:
- health details of a 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.
-
health
LoadBalancerHealthPerRuleInner health(String groupName, String loadBalancerName, String loadBalancingRuleName, com.azure.core.util.Context context) Get health details of a load balancing rule.- Parameters:
groupName- 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:
- health details of a 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.
-