Class BackendPoolProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.models.BackendPoolUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.BackendPoolProperties
The JSON object that contains the properties required to create a Backend Pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resourceState property: Resource status of the Front Door or Front Door SubResource.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.Methods inherited from class com.azure.resourcemanager.frontdoor.models.BackendPoolUpdateParameters
backends, healthProbeSettings, loadBalancingSettings
-
Constructor Details
-
BackendPoolProperties
public BackendPoolProperties()Creates an instance of BackendPoolProperties class.
-
-
Method Details
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
withBackends
Set the backends property: The set of backends for this pool.- Overrides:
withBackends
in classBackendPoolUpdateParameters
- Parameters:
backends
- the backends value to set.- Returns:
- the BackendPoolUpdateParameters object itself.
-
withLoadBalancingSettings
public BackendPoolProperties withLoadBalancingSettings(com.azure.core.management.SubResource loadBalancingSettings) Set the loadBalancingSettings property: Load balancing settings for a backend pool.- Overrides:
withLoadBalancingSettings
in classBackendPoolUpdateParameters
- Parameters:
loadBalancingSettings
- the loadBalancingSettings value to set.- Returns:
- the BackendPoolUpdateParameters object itself.
-
withHealthProbeSettings
public BackendPoolProperties withHealthProbeSettings(com.azure.core.management.SubResource healthProbeSettings) Set the healthProbeSettings property: L7 health probe settings for a backend pool.- Overrides:
withHealthProbeSettings
in classBackendPoolUpdateParameters
- Parameters:
healthProbeSettings
- the healthProbeSettings value to set.- Returns:
- the BackendPoolUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBackendPoolUpdateParameters
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-