Class AfdOriginGroupProperties
- java.lang.Object
-
- com.azure.resourcemanager.cdn.fluent.models.AfdOriginGroupUpdatePropertiesParameters
-
- com.azure.resourcemanager.cdn.fluent.models.AfdOriginGroupProperties
-
public final class AfdOriginGroupProperties extends AfdOriginGroupUpdatePropertiesParameters
The JSON object that contains the properties of the origin group.
-
-
Constructor Summary
Constructors Constructor Description AfdOriginGroupProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentStatusdeploymentStatus()Get the deploymentStatus property: The deploymentStatus property.AfdProvisioningStateprovisioningState()Get the provisioningState property: Provisioning status.voidvalidate()Validates the instance.AfdOriginGroupPropertieswithHealthProbeSettings(HealthProbeParameters healthProbeSettings)Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.AfdOriginGroupPropertieswithLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)Set the loadBalancingSettings property: Load balancing settings for a backend pool.AfdOriginGroupPropertieswithResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)Set the responseBasedAfdOriginErrorDetectionSettings property: The JSON object that contains the properties to determine origin health using real requests/responses.AfdOriginGroupPropertieswithSessionAffinityState(EnabledState sessionAffinityState)Set the sessionAffinityState property: Whether to allow session affinity on this host.AfdOriginGroupPropertieswithTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(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.-
Methods inherited from class com.azure.resourcemanager.cdn.fluent.models.AfdOriginGroupUpdatePropertiesParameters
healthProbeSettings, loadBalancingSettings, profileName, responseBasedAfdOriginErrorDetectionSettings, sessionAffinityState, trafficRestorationTimeToHealedOrNewEndpointsInMinutes
-
-
-
-
Method Detail
-
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.- Returns:
- the provisioningState value.
-
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.- Returns:
- the deploymentStatus value.
-
withLoadBalancingSettings
public AfdOriginGroupProperties withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.- Overrides:
withLoadBalancingSettingsin classAfdOriginGroupUpdatePropertiesParameters- Parameters:
loadBalancingSettings- the loadBalancingSettings value to set.- Returns:
- the AfdOriginGroupUpdatePropertiesParameters object itself.
-
withHealthProbeSettings
public AfdOriginGroupProperties withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.- Overrides:
withHealthProbeSettingsin classAfdOriginGroupUpdatePropertiesParameters- Parameters:
healthProbeSettings- the healthProbeSettings value to set.- Returns:
- the AfdOriginGroupUpdatePropertiesParameters object itself.
-
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public AfdOriginGroupProperties 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. Default is 10 mins. This property is currently not supported.- Overrides:
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutesin classAfdOriginGroupUpdatePropertiesParameters- Parameters:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.- Returns:
- the AfdOriginGroupUpdatePropertiesParameters object itself.
-
withResponseBasedAfdOriginErrorDetectionSettings
public AfdOriginGroupProperties withResponseBasedAfdOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings)
Set the responseBasedAfdOriginErrorDetectionSettings property: The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.- Overrides:
withResponseBasedAfdOriginErrorDetectionSettingsin classAfdOriginGroupUpdatePropertiesParameters- Parameters:
responseBasedAfdOriginErrorDetectionSettings- the responseBasedAfdOriginErrorDetectionSettings value to set.- Returns:
- the AfdOriginGroupUpdatePropertiesParameters object itself.
-
withSessionAffinityState
public AfdOriginGroupProperties withSessionAffinityState(EnabledState sessionAffinityState)
Set the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.- Overrides:
withSessionAffinityStatein classAfdOriginGroupUpdatePropertiesParameters- Parameters:
sessionAffinityState- the sessionAffinityState value to set.- Returns:
- the AfdOriginGroupUpdatePropertiesParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAfdOriginGroupUpdatePropertiesParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-