BackendPool Class

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 BackendPool class.

Method Summary

Modifier and Type Method and Description
List<Backend> backends()

Get the backends property: The set of backends for this pool.

SubResource healthProbeSettings()

Get the healthProbeSettings property: L7 health probe settings for a backend pool.

SubResource loadBalancingSettings()

Get the loadBalancingSettings property: Load balancing settings for a backend pool.

String name()

Get the name property: Resource name.

FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

String type()

Get the type property: Resource type.

void validate()

Validates the instance.

BackendPool withBackends(List<Backend> backends)

Set the backends property: The set of backends for this pool.

BackendPool withHealthProbeSettings(SubResource healthProbeSettings)

Set the healthProbeSettings property: L7 health probe settings for a backend pool.

BackendPool withId(String id)
BackendPool withLoadBalancingSettings(SubResource loadBalancingSettings)

Set the loadBalancingSettings property: Load balancing settings for a backend pool.

BackendPool 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 backends()

Get the backends property: The set of backends for this pool.

Returns:

the backends value.

healthProbeSettings

public SubResource healthProbeSettings()

Get the healthProbeSettings property: L7 health probe settings for a backend pool.

Returns:

the healthProbeSettings value.

loadBalancingSettings

public SubResource loadBalancingSettings()

Get the loadBalancingSettings property: Load balancing settings for a backend pool.

Returns:

the loadBalancingSettings value.

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

resourceState

public FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

Resource status.

Returns:

the resourceState value.

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBackends

public BackendPool withBackends(List backends)

Set the backends property: The set of backends for this pool.

Parameters:

backends - the backends value to set.

Returns:

the BackendPool object itself.

withHealthProbeSettings

public BackendPool withHealthProbeSettings(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.

withId

public BackendPool withId(String id)

Overrides:

BackendPool.withId(String id)

Parameters:

id

withLoadBalancingSettings

public BackendPool withLoadBalancingSettings(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.

withName

public BackendPool withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the BackendPool object itself.

Applies to