LoadBalancingRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoadBalancingRule() |
Initializes a new instance of the LoadBalancingRule class. |
LoadBalancingRule(Int32, Int32, String, String, String) |
Initializes a new instance of the LoadBalancingRule class. |
LoadBalancingRule()
Initializes a new instance of the LoadBalancingRule class.
public LoadBalancingRule ();
Public Sub New ()
Applies to
LoadBalancingRule(Int32, Int32, String, String, String)
Initializes a new instance of the LoadBalancingRule class.
public LoadBalancingRule (int frontendPort, int backendPort, string protocol, string probeProtocol, string probeRequestPath = default);
new Microsoft.Azure.Management.ServiceFabric.Models.LoadBalancingRule : int * int * string * string * string -> Microsoft.Azure.Management.ServiceFabric.Models.LoadBalancingRule
Public Sub New (frontendPort As Integer, backendPort As Integer, protocol As String, probeProtocol As String, Optional probeRequestPath As String = Nothing)
Parameters
- frontendPort
- Int32
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.
- backendPort
- Int32
The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
- protocol
- String
The reference to the transport protocol used by the load balancing rule. Possible values include: 'tcp', 'udp'
- probeProtocol
- String
the reference to the load balancer probe used by the load balancing rule. Possible values include: 'tcp', 'http', 'https'
- probeRequestPath
- String
The probe request path. Only supported for HTTP/HTTPS probes.