LoadBalancingRuleProperties(LoadBalancingTransportProtocol, Int32) Constructor
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.
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".