LoadBalancingRule LoadBalancingRule LoadBalancingRule Constructors

Definition

Overloads

LoadBalancingRule() LoadBalancingRule()

Initializes a new instance of the LoadBalancingRule class.

LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the LoadBalancingRule class.

LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the LoadBalancingRule class.

LoadBalancingRule() LoadBalancingRule()

Initializes a new instance of the LoadBalancingRule class.

public LoadBalancingRule ();
Public Sub New ()

LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the LoadBalancingRule class.

public LoadBalancingRule (string protocol, int frontendPort, string id = null, Microsoft.Azure.Management.Network.Models.SubResource frontendIPConfiguration = null, Microsoft.Azure.Management.Network.Models.SubResource backendAddressPool = null, Microsoft.Azure.Management.Network.Models.SubResource probe = null, string loadDistribution = null, Nullable<int> backendPort = null, Nullable<int> idleTimeoutInMinutes = null, Nullable<bool> enableFloatingIP = null, Nullable<bool> disableOutboundSnat = null, string provisioningState = null, string name = null, string etag = null);
new Microsoft.Azure.Management.Network.Models.LoadBalancingRule : string * int * string * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * string * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Network.Models.LoadBalancingRule
Public Sub New (protocol As String, frontendPort As Integer, Optional id As String = null, Optional frontendIPConfiguration As SubResource = null, Optional backendAddressPool As SubResource = null, Optional probe As SubResource = null, Optional loadDistribution As String = null, Optional backendPort As Nullable(Of Integer) = null, Optional idleTimeoutInMinutes As Nullable(Of Integer) = null, Optional enableFloatingIP As Nullable(Of Boolean) = null, Optional disableOutboundSnat As Nullable(Of Boolean) = null, Optional provisioningState As String = null, Optional name As String = null, Optional etag As String = null)

Parameters

protocol
String String String

Possible values include: 'Udp', 'Tcp', 'All'

frontendPort
Int32 Int32 Int32

The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port"

id
String String String

Resource ID.

frontendIPConfiguration
SubResource SubResource SubResource

A reference to frontend IP addresses.

backendAddressPool
SubResource SubResource SubResource

A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.

probe
SubResource SubResource SubResource

The reference of the load balancer probe used by the load balancing rule.

loadDistribution
String String String

The load distribution policy for this rule. Possible values are 'Default', 'SourceIP', and 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol'

backendPort
Nullable<Int32>

The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port"

idleTimeoutInMinutes
Nullable<Int32>

The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

enableFloatingIP
Nullable<Boolean>

Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

disableOutboundSnat
Nullable<Boolean>

Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

provisioningState
String String String

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

name
String String String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String String String

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

LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String) LoadBalancingRule(String, Int32, String, SubResource, SubResource, SubResource, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the LoadBalancingRule class.

public LoadBalancingRule (string protocol, int frontendPort, string id = null, Microsoft.Azure.Management.Network.Models.SubResource frontendIPConfiguration = null, Microsoft.Azure.Management.Network.Models.SubResource backendAddressPool = null, Microsoft.Azure.Management.Network.Models.SubResource probe = null, string loadDistribution = null, Nullable<int> backendPort = null, Nullable<int> idleTimeoutInMinutes = null, Nullable<bool> enableFloatingIP = null, Nullable<bool> enableTcpReset = null, Nullable<bool> disableOutboundSnat = null, string provisioningState = null, string name = null, string etag = null);
new Microsoft.Azure.Management.Network.Models.LoadBalancingRule : string * int * string * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * string * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Network.Models.LoadBalancingRule
Public Sub New (protocol As String, frontendPort As Integer, Optional id As String = null, Optional frontendIPConfiguration As SubResource = null, Optional backendAddressPool As SubResource = null, Optional probe As SubResource = null, Optional loadDistribution As String = null, Optional backendPort As Nullable(Of Integer) = null, Optional idleTimeoutInMinutes As Nullable(Of Integer) = null, Optional enableFloatingIP As Nullable(Of Boolean) = null, Optional enableTcpReset As Nullable(Of Boolean) = null, Optional disableOutboundSnat As Nullable(Of Boolean) = null, Optional provisioningState As String = null, Optional name As String = null, Optional etag As String = null)

Parameters

protocol
String String String

Possible values include: 'Udp', 'Tcp', 'All'

frontendPort
Int32 Int32 Int32

The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port"

id
String String String

Resource ID.

frontendIPConfiguration
SubResource SubResource SubResource

A reference to frontend IP addresses.

backendAddressPool
SubResource SubResource SubResource

A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.

probe
SubResource SubResource SubResource

The reference of the load balancer probe used by the load balancing rule.

loadDistribution
String String String

The load distribution policy for this rule. Possible values are 'Default', 'SourceIP', and 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol'

backendPort
Nullable<Int32>

The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port"

idleTimeoutInMinutes
Nullable<Int32>

The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

enableFloatingIP
Nullable<Boolean>

Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

enableTcpReset
Nullable<Boolean>

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

disableOutboundSnat
Nullable<Boolean>

Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

provisioningState
String String String

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

name
String String String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String String String

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

Applies to