Partager via


LoadBalancingRuleProperties(LoadBalancingTransportProtocol, Int32) Constructor

Definition

Initializes a new instance of LoadBalancingRuleProperties.

public LoadBalancingRuleProperties (Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol protocol, int frontendPort);
new Azure.ResourceManager.Network.Models.LoadBalancingRuleProperties : Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol * int -> Azure.ResourceManager.Network.Models.LoadBalancingRuleProperties
Public Sub New (protocol As LoadBalancingTransportProtocol, frontendPort As Integer)

Parameters

protocol
LoadBalancingTransportProtocol

The reference to the transport protocol used by the load balancing rule.

frontendPort
Int32

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".

Applies to