BackendPool Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. frontdoor. models. BackendPool
- com.
- com.
public final class BackendPool
extends SubResource
A backend pool is a collection of backends that can be routed to.
Constructor Summary
Constructor | Description |
---|---|
BackendPool() |
Creates an instance of Backend |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Backend> |
backends()
Get the backends property: The set of backends for this pool. |
Sub |
healthProbeSettings()
Get the health |
Sub |
loadBalancingSettings()
Get the load |
String |
name()
Get the name property: Resource name. |
Front |
resourceState()
Get the resource |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Backend |
withBackends(List<Backend> backends)
Set the backends property: The set of backends for this pool. |
Backend |
withHealthProbeSettings(SubResource healthProbeSettings)
Set the health |
Backend |
withId(String id) |
Backend |
withLoadBalancingSettings(SubResource loadBalancingSettings)
Set the load |
Backend |
withName(String name)
Set the name property: Resource name. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
BackendPool
public BackendPool()
Creates an instance of BackendPool class.
Method Details
backends
public List
Get the backends property: The set of backends for this pool.
Returns:
healthProbeSettings
public SubResource healthProbeSettings()
Get the healthProbeSettings property: L7 health probe settings for a backend pool.
Returns:
loadBalancingSettings
public SubResource loadBalancingSettings()
Get the loadBalancingSettings property: Load balancing settings for a backend pool.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
resourceState
public FrontDoorResourceState resourceState()
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.
Resource status.
Returns:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withBackends
public BackendPool withBackends(List
Set the backends property: The set of backends for this pool.
Parameters:
Returns:
withHealthProbeSettings
public BackendPool withHealthProbeSettings(SubResource healthProbeSettings)
Set the healthProbeSettings property: L7 health probe settings for a backend pool.
Parameters:
Returns:
withId
public BackendPool withId(String id)
Overrides:
BackendPool.withId(String id)Parameters:
withLoadBalancingSettings
public BackendPool withLoadBalancingSettings(SubResource loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.
Parameters:
Returns:
withName
public BackendPool withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for