LoadBalancer Class

LoadBalancer resource.

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

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

Constructor

LoadBalancer(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, sku: _models.LoadBalancerSku | None = None, frontend_ip_configurations: List[_models.FrontendIPConfiguration] | None = None, backend_address_pools: List[_models.BackendAddressPool] | None = None, load_balancing_rules: List[_models.LoadBalancingRule] | None = None, probes: List[_models.Probe] | None = None, inbound_nat_rules: List[_models.InboundNatRule] | None = None, inbound_nat_pools: List[_models.InboundNatPool] | None = None, outbound_rules: List[_models.OutboundRule] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

extended_location

The extended location of the load balancer.

sku

The load balancer SKU.

frontend_ip_configurations

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

backend_address_pools

Collection of backend address pools used by a load balancer.

load_balancing_rules

Object collection representing the load balancing rules Gets the provisioning.

probes

Collection of probe objects used in the load balancer.

inbound_nat_rules

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

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_rules

The outbound rules.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

extended_location

The extended location of the load balancer.

sku

The load balancer SKU.

etag
str

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

frontend_ip_configurations

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

backend_address_pools

Collection of backend address pools used by a load balancer.

load_balancing_rules

Object collection representing the load balancing rules Gets the provisioning.

probes

Collection of probe objects used in the load balancer.

inbound_nat_rules

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

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_rules

The outbound rules.

resource_guid
str

The resource GUID property of the load balancer resource.

provisioning_state

The provisioning state of the load balancer resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed".