LoadBalancer Class
LoadBalancer resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.v2018_08_01.models._models_py3.ResourceLoadBalancer
Constructor
LoadBalancer(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, sku: typing.Union[_ForwardRef('LoadBalancerSku'), 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_rules: typing.Union[typing.List[_ForwardRef('OutboundRule')], NoneType] = None, resource_guid: typing.Union[str, NoneType] = None, provisioning_state: typing.Union[str, NoneType] = None, **kwargs)
Parameters
- id
- str
Resource ID.
- location
- str
Resource location.
- sku
- LoadBalancerSku
The load balancer SKU.
- 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.
- 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_rules
- list[OutboundRule]
The outbound 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.
Feedback
Submit and view feedback for