AFDOriginGroupUpdateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. AFDOriginGroupUpdateParameters
- com.
public class AFDOriginGroupUpdateParameters
AFDOrigin group properties needed for origin group creation or update.
Constructor Summary
Constructor | Description | |
---|---|---|
AFDOriginGroupUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Health |
healthProbeSettings()
Get health probe settings to the origin that is used to determine the health of the origin. |
Load |
loadBalancingSettings()
Get load balancing settings for a backend pool. |
Response |
responseBasedAfdOriginErrorDetectionSettings()
Get the JSON object that contains the properties to determine origin health using real requests/responses. |
Enabled |
sessionAffinityState()
Get whether to allow session affinity on this host. |
java.lang.Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. |
AFDOrigin |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set health probe settings to the origin that is used to determine the health of the origin. |
AFDOrigin |
withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set load balancing settings for a backend pool. |
AFDOrigin |
withResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)
Set the JSON object that contains the properties to determine origin health using real requests/responses. |
AFDOrigin |
withSessionAffinityState(EnabledState sessionAffinityState)
Set whether to allow session affinity on this host. |
AFDOrigin |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. |
Methods inherited from java.lang.Object
Constructor Details
AFDOriginGroupUpdateParameters
public AFDOriginGroupUpdateParameters()
Method Details
healthProbeSettings
public HealthProbeParameters healthProbeSettings()
Get health probe settings to the origin that is used to determine the health of the origin.
Returns:
loadBalancingSettings
public LoadBalancingSettingsParameters loadBalancingSettings()
Get load balancing settings for a backend pool.
Returns:
responseBasedAfdOriginErrorDetectionSettings
public ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings()
Get the JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
Returns:
sessionAffinityState
public EnabledState sessionAffinityState()
Get whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Returns:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
Returns:
withHealthProbeSettings
public AFDOriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set health probe settings to the origin that is used to determine the health of the origin.
Parameters:
Returns:
withLoadBalancingSettings
public AFDOriginGroupUpdateParameters withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set load balancing settings for a backend pool.
Parameters:
Returns:
withResponseBasedAfdOriginErrorDetectionSettings
public AFDOriginGroupUpdateParameters withResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)
Set the JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
Parameters:
Returns:
withSessionAffinityState
public AFDOriginGroupUpdateParameters withSessionAffinityState(EnabledState sessionAffinityState)
Set whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Parameters:
Returns:
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public AFDOriginGroupUpdateParameters withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
Parameters:
Returns:
Applies to
Azure SDK for Java