LoadBalancerLoadBalancingRulesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:load_balancer_load_balancing_rules> attribute.
Constructor
LoadBalancerLoadBalancingRulesOperations(*args, **kwargs)
Methods
| begin_health |
Get health details of a load balancing rule. |
| get |
Gets the specified load balancer load balancing rule. |
| list |
Gets all the load balancing rules in a load balancer. |
begin_health
Get health details of a load balancing rule.
begin_health(group_name: str, load_balancer_name: str, load_balancing_rule_name: str, **kwargs: Any) -> LROPoller[LoadBalancerHealthPerRule]
Parameters
| Name | Description |
|---|---|
|
group_name
Required
|
Required. |
|
load_balancer_name
Required
|
The name of the load balancer. Required. |
|
load_balancing_rule_name
Required
|
The name of the load balancing rule. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns LoadBalancerHealthPerRule. The LoadBalancerHealthPerRule is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get
Gets the specified load balancer load balancing rule.
get(resource_group_name: str, load_balancer_name: str, load_balancing_rule_name: str, **kwargs: Any) -> LoadBalancingRule
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
load_balancer_name
Required
|
The name of the load balancer. Required. |
|
load_balancing_rule_name
Required
|
The name of the load balancing rule. Required. |
Returns
| Type | Description |
|---|---|
|
LoadBalancingRule. The LoadBalancingRule is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
Gets all the load balancing rules in a load balancer.
list(resource_group_name: str, load_balancer_name: str, **kwargs: Any) -> ItemPaged[LoadBalancingRule]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
load_balancer_name
Required
|
The name of the load balancer. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of LoadBalancingRule |
Exceptions
| Type | Description |
|---|---|