### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.LoadBalancingRule"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule"
name: "LoadBalancingRule"
nameWithType: "LoadBalancingRule"
summary: "A client-side representation of an HTTP load balancing rule."
syntax: "public interface **LoadBalancingRule** extends <>, <>, , , , <>, "
methods:
- uid: "com.azure.resourcemanager.network.models.LoadBalancingRule.backend()"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule.backend()"
name: "backend()"
nameWithType: "LoadBalancingRule.backend()"
summary: "Gets the backend associated with the load balancing rule."
modifiers:
- "abstract"
syntax: "public abstract LoadBalancerBackend backend()"
desc: "Gets the backend associated with the load balancing rule.\n\nIf there are multiple backends associated with the rule, this API only returns the first backend. Use for the case of multiple backends associated with the rule."
returns:
description: "the backend associated with the load balancing rule"
type: ""
- uid: "com.azure.resourcemanager.network.models.LoadBalancingRule.backends()"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule.backends()"
name: "backends()"
nameWithType: "LoadBalancingRule.backends()"
summary: "Gets the list of backends associated with the load balancing rule."
modifiers:
- "abstract"
syntax: "public abstract List backends()"
desc: "Gets the list of backends associated with the load balancing rule."
returns:
description: "the list of backends associated with the load balancing rule"
type: "List<>"
- uid: "com.azure.resourcemanager.network.models.LoadBalancingRule.idleTimeoutInMinutes()"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule.idleTimeoutInMinutes()"
name: "idleTimeoutInMinutes()"
nameWithType: "LoadBalancingRule.idleTimeoutInMinutes()"
modifiers:
- "abstract"
syntax: "public abstract int idleTimeoutInMinutes()"
returns:
description: "the number of minutes before an inactive connection is closed"
type: ""
- uid: "com.azure.resourcemanager.network.models.LoadBalancingRule.loadDistribution()"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule.loadDistribution()"
name: "loadDistribution()"
nameWithType: "LoadBalancingRule.loadDistribution()"
modifiers:
- "abstract"
syntax: "public abstract LoadDistribution loadDistribution()"
returns:
description: "the method of load distribution"
type: ""
- uid: "com.azure.resourcemanager.network.models.LoadBalancingRule.probe()"
fullName: "com.azure.resourcemanager.network.models.LoadBalancingRule.probe()"
name: "probe()"
nameWithType: "LoadBalancingRule.probe()"
modifiers:
- "abstract"
syntax: "public abstract LoadBalancerProbe probe()"
returns:
description: "the probe associated with the load balancing rule"
type: ""
type: "interface"
desc: "A client-side representation of an HTTP load balancing rule."
implements:
- ""
- ""
- ""
- ""
- "<>"
- "<>"
- "<>"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0