Share via


LoadBalancingRuleInner Class

Definition

A load balancing rule for a load balancer.

[Microsoft.Rest.Serialization.JsonTransformation]
public class LoadBalancingRuleInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LoadBalancingRuleInner = class
    inherit SubResource
Public Class LoadBalancingRuleInner
Inherits SubResource
Inheritance
LoadBalancingRuleInner
Attributes

Constructors

LoadBalancingRuleInner()

Initializes a new instance of the LoadBalancingRuleInner class.

LoadBalancingRuleInner(TransportProtocol, Int32, String, SubResource, SubResource, SubResource, LoadDistribution, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, String, String, String)

Initializes a new instance of the LoadBalancingRuleInner class.

Properties

BackendAddressPool

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

BackendPort

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

DisableOutboundSnat

Gets or sets configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

EnableFloatingIP

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

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

Etag

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

FrontendIPConfiguration

Gets or sets a reference to frontend IP addresses.

FrontendPort

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

Resource Id

(Inherited from SubResource)
IdleTimeoutInMinutes

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

LoadDistribution

Gets or sets the load distribution policy for this rule. Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol'

Name

Gets or sets the name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.

Probe

Gets or sets the reference of the load balancer probe used by the load balancing rule.

Protocol

Gets or sets the reference to the transport protocol used by the load balancing rule. Possible values include: 'Udp', 'Tcp', 'All'

ProvisioningState

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

Type

Gets type of the resource.

Methods

Validate()

Validate the object.

Applies to