LoadBalancingRule Class

Definition

Describes a load balancing rule.

public class LoadBalancingRule
type LoadBalancingRule = class
Public Class LoadBalancingRule
Inheritance
LoadBalancingRule

Constructors

LoadBalancingRule()

Initializes a new instance of the LoadBalancingRule class.

LoadBalancingRule(Int32, Int32, String, String, String)

Initializes a new instance of the LoadBalancingRule class.

Properties

BackendPort

Gets or sets the port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

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 1 and 65534.

ProbeProtocol

Gets or sets the reference to the load balancer probe used by the load balancing rule. Possible values include: 'tcp', 'http', 'https'

ProbeRequestPath

Gets or sets the probe request path. Only supported for HTTP/HTTPS probes.

Protocol

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

Methods

Validate()

Validate the object.

Applies to