LoadBalancerLoadBalancingRulesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:load_balancer_load_balancing_rules> attribute.
- Inheritance
-
builtins.objectLoadBalancerLoadBalancingRulesOperations
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
|
The name of the resource group. 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 either LoadBalancerHealthPerRule or the result of cls(response) |
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. 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 or the result of cls(response) |
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) -> Iterable[LoadBalancingRule]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
load_balancer_name
Required
|
The name of the load balancer. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either LoadBalancingRule or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python