Class BackendPool
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.frontdoor.models.BackendPool
public final class BackendPool
extends com.azure.core.management.SubResource
A backend pool is a collection of backends that can be routed to.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackends()
Get the backends property: The set of backends for this pool.com.azure.core.management.SubResource
Get the healthProbeSettings property: L7 health probe settings for a backend pool.com.azure.core.management.SubResource
Get the loadBalancingSettings property: Load balancing settings for a backend pool.name()
Get the name property: Resource name.Get the resourceState property: Resource status of the Front Door or Front Door SubResource.type()
Get the type property: Resource type.void
validate()
Validates the instance.withBackends
(List<Backend> backends) Set the backends property: The set of backends for this pool.withHealthProbeSettings
(com.azure.core.management.SubResource healthProbeSettings) Set the healthProbeSettings property: L7 health probe settings for a backend pool.withLoadBalancingSettings
(com.azure.core.management.SubResource loadBalancingSettings) Set the loadBalancingSettings property: Load balancing settings for a backend pool.Set the name property: Resource name.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
BackendPool
public BackendPool()Creates an instance of BackendPool class.
-
-
Method Details
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name
- the name value to set.- Returns:
- the BackendPool object itself.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
backends
Get the backends property: The set of backends for this pool.- Returns:
- the backends value.
-
withBackends
Set the backends property: The set of backends for this pool.- Parameters:
backends
- the backends value to set.- Returns:
- the BackendPool object itself.
-
loadBalancingSettings
public com.azure.core.management.SubResource loadBalancingSettings()Get the loadBalancingSettings property: Load balancing settings for a backend pool.- Returns:
- the loadBalancingSettings value.
-
withLoadBalancingSettings
public BackendPool withLoadBalancingSettings(com.azure.core.management.SubResource loadBalancingSettings) Set the loadBalancingSettings property: Load balancing settings for a backend pool.- Parameters:
loadBalancingSettings
- the loadBalancingSettings value to set.- Returns:
- the BackendPool object itself.
-
healthProbeSettings
public com.azure.core.management.SubResource healthProbeSettings()Get the healthProbeSettings property: L7 health probe settings for a backend pool.- Returns:
- the healthProbeSettings value.
-
withHealthProbeSettings
public BackendPool withHealthProbeSettings(com.azure.core.management.SubResource healthProbeSettings) Set the healthProbeSettings property: L7 health probe settings for a backend pool.- Parameters:
healthProbeSettings
- the healthProbeSettings value to set.- Returns:
- the BackendPool object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-