Class AFDOriginGroupUpdateParameters
java.lang.Object
com.microsoft.azure.management.cdn.AFDOriginGroupUpdateParameters
AFDOrigin group properties needed for origin group creation or update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet health probe settings to the origin that is used to determine the health of the origin.Get load balancing settings for a backend pool.Get the JSON object that contains the properties to determine origin health using real requests/responses.Get whether to allow session affinity on this host.Get time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added.withHealthProbeSettings
(HealthProbeParameters healthProbeSettings) Set health probe settings to the origin that is used to determine the health of the origin.withLoadBalancingSettings
(LoadBalancingSettingsParameters loadBalancingSettings) Set load balancing settings for a backend pool.withResponseBasedAfdOriginErrorDetectionSettings
(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings) Set the JSON object that contains the properties to determine origin health using real requests/responses.withSessionAffinityState
(EnabledState sessionAffinityState) Set whether to allow session affinity on this host.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.
-
Constructor Details
-
AFDOriginGroupUpdateParameters
public AFDOriginGroupUpdateParameters()
-
-
Method Details
-
loadBalancingSettings
Get load balancing settings for a backend pool.- Returns:
- the loadBalancingSettings value
-
withLoadBalancingSettings
public AFDOriginGroupUpdateParameters withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings) Set load balancing settings for a backend pool.- Parameters:
loadBalancingSettings
- the loadBalancingSettings value to set- Returns:
- the AFDOriginGroupUpdateParameters object itself.
-
healthProbeSettings
Get health probe settings to the origin that is used to determine the health of the origin.- Returns:
- the healthProbeSettings value
-
withHealthProbeSettings
public AFDOriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings) Set health probe settings to the origin that is used to determine the health of the origin.- Parameters:
healthProbeSettings
- the healthProbeSettings value to set- Returns:
- the AFDOriginGroupUpdateParameters object itself.
-
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:
- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value
-
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:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set- Returns:
- the AFDOriginGroupUpdateParameters object itself.
-
responseBasedAfdOriginErrorDetectionSettings
Get the JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.- Returns:
- the responseBasedAfdOriginErrorDetectionSettings value
-
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:
responseBasedAfdOriginErrorDetectionSettings
- the responseBasedAfdOriginErrorDetectionSettings value to set- Returns:
- the AFDOriginGroupUpdateParameters object itself.
-
sessionAffinityState
Get whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.- Returns:
- the sessionAffinityState value
-
withSessionAffinityState
Set whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.- Parameters:
sessionAffinityState
- the sessionAffinityState value to set- Returns:
- the AFDOriginGroupUpdateParameters object itself.
-