public class AfdOriginGroupUpdatePropertiesParameters extends Object
| Constructor and Description |
|---|
AfdOriginGroupUpdatePropertiesParameters() |
| Modifier and Type | Method and Description |
|---|---|
HealthProbeParameters |
healthProbeSettings()
Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of
the origin.
|
LoadBalancingSettingsParameters |
loadBalancingSettings()
Get the loadBalancingSettings property: Load balancing settings for a backend pool.
|
ResponseBasedOriginErrorDetectionParameters |
responseBasedAfdOriginErrorDetectionSettings()
Get the responseBasedAfdOriginErrorDetectionSettings property: The JSON object that contains the properties to
determine origin health using real requests/responses.
|
EnabledState |
sessionAffinityState()
Get the sessionAffinityState property: Whether to allow session affinity on this host.
|
Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get the trafficRestorationTimeToHealedOrNewEndpointsInMinutes property: Time in minutes to shift the traffic to
the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added.
|
void |
validate()
Validates the instance.
|
AfdOriginGroupUpdatePropertiesParameters |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of
the origin.
|
AfdOriginGroupUpdatePropertiesParameters |
withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.
|
AfdOriginGroupUpdatePropertiesParameters |
withResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)
Set the responseBasedAfdOriginErrorDetectionSettings property: The JSON object that contains the properties to
determine origin health using real requests/responses.
|
AfdOriginGroupUpdatePropertiesParameters |
withSessionAffinityState(EnabledState sessionAffinityState)
Set the sessionAffinityState property: Whether to allow session affinity on this host.
|
AfdOriginGroupUpdatePropertiesParameters |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set the trafficRestorationTimeToHealedOrNewEndpointsInMinutes property: Time in minutes to shift the traffic to
the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added.
|
public AfdOriginGroupUpdatePropertiesParameters()
public LoadBalancingSettingsParameters loadBalancingSettings()
public AfdOriginGroupUpdatePropertiesParameters withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
loadBalancingSettings - the loadBalancingSettings value to set.public HealthProbeParameters healthProbeSettings()
public AfdOriginGroupUpdatePropertiesParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
healthProbeSettings - the healthProbeSettings value to set.public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
public AfdOriginGroupUpdatePropertiesParameters withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
trafficRestorationTimeToHealedOrNewEndpointsInMinutes - the
trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.public ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings()
public AfdOriginGroupUpdatePropertiesParameters withResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)
responseBasedAfdOriginErrorDetectionSettings - the responseBasedAfdOriginErrorDetectionSettings value to
set.public EnabledState sessionAffinityState()
public AfdOriginGroupUpdatePropertiesParameters withSessionAffinityState(EnabledState sessionAffinityState)
sessionAffinityState - the sessionAffinityState value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.