LoadBalancingRule Class

Describes a load balancing rule.

All required parameters must be populated in order to send to Azure.

Inheritance
LoadBalancingRule

Constructor

LoadBalancingRule(*, frontend_port: int, backend_port: int, protocol: Union[str, azure.mgmt.servicefabricmanagedclusters.models._service_fabric_managed_clusters_management_client_enums.Protocol], probe_protocol: Union[str, azure.mgmt.servicefabricmanagedclusters.models._service_fabric_managed_clusters_management_client_enums.ProbeProtocol], probe_port: Optional[int] = None, probe_request_path: Optional[str] = None, **kwargs)

Parameters

frontend_port
int
Required

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

backend_port
int
Required

Required. The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

protocol
str or <xref:service_fabric_managed_clusters_management_client.models.Protocol>
Required

Required. The reference to the transport protocol used by the load balancing rule. Possible values include: "tcp", "udp".

probe_port
int
Required

The prob port used by the load balancing rule. Acceptable values are between 1 and 65535.

probe_protocol
str or <xref:service_fabric_managed_clusters_management_client.models.ProbeProtocol>
Required

Required. the reference to the load balancer probe used by the load balancing rule. Possible values include: "tcp", "http", "https".

probe_request_path
str
Required

The probe request path. Only supported for HTTP/HTTPS probes.