Compartilhar via


LoadBalancerOutboundRulesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:load_balancer_outbound_rules> attribute.

Inheritance
builtins.object
LoadBalancerOutboundRulesOperations

Constructor

LoadBalancerOutboundRulesOperations(*args, **kwargs)

Methods

get

Gets the specified load balancer outbound rule.

list

Gets all the outbound rules in a load balancer.

get

Gets the specified load balancer outbound rule.

get(resource_group_name: str, load_balancer_name: str, outbound_rule_name: str, **kwargs: Any) -> OutboundRule

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

outbound_rule_name
Required
str

The name of the outbound rule. Required.

Returns

Type Description

OutboundRule or the result of cls(response)

Exceptions

Type Description

list

Gets all the outbound rules in a load balancer.

list(resource_group_name: str, load_balancer_name: str, **kwargs: Any) -> Iterable[OutboundRule]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

load_balancer_name
Required
str

The name of the load balancer. Required.

Returns

Type Description

An iterator like instance of either OutboundRule 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'>