Share via


LoadBalancer Class

Definition

LoadBalancer resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class LoadBalancer : Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LoadBalancer = class
    inherit Resource
Public Class LoadBalancer
Inherits Resource
Inheritance
LoadBalancer
Attributes

Constructors

LoadBalancer()

Initializes a new instance of the LoadBalancer class.

LoadBalancer(String, String, String, String, IDictionary<String, String>, ExtendedLocation, LoadBalancerSku, IList<FrontendIPConfiguration>, IList<BackendAddressPool>, IList<LoadBalancingRule>, IList<Probe>, IList<InboundNatRule>, IList<InboundNatPool>, IList<OutboundRule>, String, String, String)

Initializes a new instance of the LoadBalancer class.

Properties

BackendAddressPools

Gets or sets collection of backend address pools used by a load balancer.

Etag

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

ExtendedLocation

Gets or sets the extended location of the load balancer.

FrontendIPConfigurations

Gets or sets object representing the frontend IPs to be used for the load balancer.

Id

Gets or sets resource ID.

(Inherited from Resource)
InboundNatPools

Gets or sets 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.

InboundNatRules

Gets or sets 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.

LoadBalancingRules

Gets or sets object collection representing the load balancing rules Gets the provisioning.

Location

Gets or sets resource location.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
OutboundRules

Gets or sets the outbound rules.

Probes

Gets or sets collection of probe objects used in the load balancer.

ProvisioningState

Gets the provisioning state of the load balancer resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the load balancer resource.

Sku

Gets or sets the load balancer SKU.

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to