Aracılığıyla paylaş


LoadBalancer Constructors

Definition

Overloads

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.

LoadBalancer()

Initializes a new instance of the LoadBalancer class.

public LoadBalancer ();
Public Sub New ()

Applies to

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.

public LoadBalancer (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Network.Models.LoadBalancerSku sku = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FrontendIPConfiguration> frontendIPConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.BackendAddressPool> backendAddressPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.LoadBalancingRule> loadBalancingRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Probe> probes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.InboundNatRule> inboundNatRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.InboundNatPool> inboundNatPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.OutboundRule> outboundRules = default, string resourceGuid = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.LoadBalancer : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.ExtendedLocation * Microsoft.Azure.Management.Network.Models.LoadBalancerSku * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.FrontendIPConfiguration> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.BackendAddressPool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.LoadBalancingRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Probe> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.InboundNatRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.InboundNatPool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.OutboundRule> * string * string * string -> Microsoft.Azure.Management.Network.Models.LoadBalancer
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional sku As LoadBalancerSku = Nothing, Optional frontendIPConfigurations As IList(Of FrontendIPConfiguration) = Nothing, Optional backendAddressPools As IList(Of BackendAddressPool) = Nothing, Optional loadBalancingRules As IList(Of LoadBalancingRule) = Nothing, Optional probes As IList(Of Probe) = Nothing, Optional inboundNatRules As IList(Of InboundNatRule) = Nothing, Optional inboundNatPools As IList(Of InboundNatPool) = Nothing, Optional outboundRules As IList(Of OutboundRule) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

extendedLocation
ExtendedLocation

The extended location of the load balancer.

sku
LoadBalancerSku

The load balancer SKU.

frontendIPConfigurations
IList<FrontendIPConfiguration>

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

backendAddressPools
IList<BackendAddressPool>

Collection of backend address pools used by a load balancer.

loadBalancingRules
IList<LoadBalancingRule>

Object collection representing the load balancing rules Gets the provisioning.

probes
IList<Probe>

Collection of probe objects used in the load balancer.

inboundNatRules
IList<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.

inboundNatPools
IList<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.

outboundRules
IList<OutboundRule>

The outbound rules.

resourceGuid
String

The resource GUID property of the load balancer resource.

provisioningState
String

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

etag
String

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

Applies to