ManagedClusterLoadBalancingRule Constructor

Definition

Initializes a new instance of ManagedClusterLoadBalancingRule.

public ManagedClusterLoadBalancingRule (int frontendPort, int backendPort, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRuleTransportProtocol protocol, Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalanceProbeProtocol probeProtocol);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule : int * int * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRuleTransportProtocol * Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalanceProbeProtocol -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule
Public Sub New (frontendPort As Integer, backendPort As Integer, protocol As ManagedClusterLoadBalancingRuleTransportProtocol, probeProtocol As ManagedClusterLoadBalanceProbeProtocol)

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
ManagedClusterLoadBalancingRuleTransportProtocol

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

probeProtocol
ManagedClusterLoadBalanceProbeProtocol

the reference to the load balancer probe used by the load balancing rule.

Applies to