Condividi tramite


LoadBalancingRule Class

Definition

A load balancing rule for a load balancer.

[Microsoft.Rest.Serialization.JsonTransformation]
public class LoadBalancingRule : Microsoft.Azure.Management.Network.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type LoadBalancingRule = class
    inherit SubResource
Public Class LoadBalancingRule
Inherits SubResource
Inheritance
LoadBalancingRule
Attributes

Constructors

LoadBalancingRule()

Initializes a new instance of the LoadBalancingRule class.

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

Initializes a new instance of the LoadBalancingRule 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.

BackendAddressPools

Gets or sets an array of references to pool of DIPs.

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

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