HciVmLoadBalancerRuleProperties 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 HciVmLoadBalancerRuleProperties.
public HciVmLoadBalancerRuleProperties(string frontendIPName, string backendAddressPoolName, int frontendPort, int backendPort, Azure.ResourceManager.Hci.Vm.Models.HciVmLoadBalancerRuleTransportProtocol protocol);
new Azure.ResourceManager.Hci.Vm.Models.HciVmLoadBalancerRuleProperties : string * string * int * int * Azure.ResourceManager.Hci.Vm.Models.HciVmLoadBalancerRuleTransportProtocol -> Azure.ResourceManager.Hci.Vm.Models.HciVmLoadBalancerRuleProperties
Public Sub New (frontendIPName As String, backendAddressPoolName As String, frontendPort As Integer, backendPort As Integer, protocol As HciVmLoadBalancerRuleTransportProtocol)
Parameters
- frontendIPName
- String
name of the frontnedIPConfiguration.
- backendAddressPoolName
- String
name of the backend address pool.
- frontendPort
- Int32
Frontend port to accept connections.
- backendPort
- Int32
backendPort to forward connections.
IP Protocol that the rule must load-balance.
Exceptions
frontendIPName or backendAddressPoolName is null.