Interface LoadBalancingRule
- All Superinterfaces:
ChildResource<LoadBalancer>
,HasBackendPort
,HasFloatingIP
,HasFrontend
,HasFrontendPort
,HasInnerModel<LoadBalancingRuleInner>
,HasName
,HasParent<LoadBalancer>
,HasProtocol<TransportProtocol>
,Indexable
public interface LoadBalancingRule
extends HasInnerModel<LoadBalancingRuleInner>, ChildResource<LoadBalancer>, HasBackendPort, HasFrontend, HasFloatingIP, HasProtocol<TransportProtocol>, HasFrontendPort
A client-side representation of an HTTP load balancing rule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of a load balancing rule definition.static interface
Grouping of load balancing rule definition stages.static interface
The entirety of a load balancing rule update as part of a load balancer update.static interface
The entirety of a load balancing rule definition as part of a load balancer update.static interface
Grouping of load balancing rule definition stages applicable as part of a load balancer update.static interface
Grouping of load balancing rule update stages. -
Method Summary
Methods inherited from interface com.azure.resourcemanager.network.models.HasBackendPort
backendPort
Methods inherited from interface com.azure.resourcemanager.network.models.HasFloatingIP
floatingIPEnabled
Methods inherited from interface com.azure.resourcemanager.network.models.HasFrontend
frontend
Methods inherited from interface com.azure.resourcemanager.network.models.HasFrontendPort
frontendPort
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parent
Methods inherited from interface com.azure.resourcemanager.network.models.HasProtocol
protocol
-
Method Details
-
loadDistribution
LoadDistribution loadDistribution()- Returns:
- the method of load distribution
-
idleTimeoutInMinutes
int idleTimeoutInMinutes()- Returns:
- the number of minutes before an inactive connection is closed
-
backend
LoadBalancerBackend backend()Gets the backend associated with the load balancing rule.If there are multiple backends associated with the rule, this API only returns the first backend. Use
backends()
for the case of multiple backends associated with the rule.- Returns:
- the backend associated with the load balancing rule
-
probe
LoadBalancerProbe probe()- Returns:
- the probe associated with the load balancing rule
-
backends
List<LoadBalancerBackend> backends()Gets the list of backends associated with the load balancing rule.- Returns:
- the list of backends associated with the load balancing rule
-