Udostępnij za pośrednictwem


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, Nullable<Int32>, 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.

ProbePort

Gets or sets the prob port used by the load balancing rule. Acceptable values are between 1 and 65535.

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