LoadBalancer Class

LoadBalancer resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network.v2015_06_15.models._models_py3.Resource
LoadBalancer

Constructor

LoadBalancer(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, etag: typing.Union[str, NoneType] = None, frontend_ip_configurations: typing.Union[typing.List[_ForwardRef('FrontendIPConfiguration')], NoneType] = None, backend_address_pools: typing.Union[typing.List[_ForwardRef('BackendAddressPool')], NoneType] = None, load_balancing_rules: typing.Union[typing.List[_ForwardRef('LoadBalancingRule')], NoneType] = None, probes: typing.Union[typing.List[_ForwardRef('Probe')], NoneType] = None, inbound_nat_rules: typing.Union[typing.List[_ForwardRef('InboundNatRule')], NoneType] = None, inbound_nat_pools: typing.Union[typing.List[_ForwardRef('InboundNatPool')], NoneType] = None, outbound_nat_rules: typing.Union[typing.List[_ForwardRef('OutboundNatRule')], NoneType] = None, resource_guid: typing.Union[str, NoneType] = None, provisioning_state: typing.Union[str, NoneType] = None, **kwargs)

Parameters

id
str

Resource Identifier.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

etag
str

A unique read-only string that changes whenever the resource is updated.

frontend_ip_configurations
list[FrontendIPConfiguration]

Object representing the frontend IPs to be used for the load balancer.

backend_address_pools
list[BackendAddressPool]

Collection of backend address pools used by a load balancer.

load_balancing_rules
list[LoadBalancingRule]

Object collection representing the load balancing rules Gets the provisioning.

probes
list[Probe]

Collection of probe objects used in the load balancer.

inbound_nat_rules
list[InboundNatRule]

Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.

inbound_nat_pools
list[InboundNatPool]

Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.

outbound_nat_rules
list[OutboundNatRule]

The outbound NAT rules.

resource_guid
str

The resource GUID property of the load balancer resource.

provisioning_state
str

Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

Variables

name
str

Resource name.

type
str

Resource type.