Class AfdOriginGroupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cdn.fluent.models.AfdOriginGroupInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AfdOriginGroupInner
extends com.azure.core.management.ProxyResource
AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from
Azure Front Door.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentStatus property: The deploymentStatus property.Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.Get the loadBalancingSettings property: Load balancing settings for a backend pool.Get the profileName property: The name of the profile which holds the origin group.Get the provisioningState property: Provisioning status.Get the sessionAffinityState property: Whether to allow session affinity on this host.com.azure.core.management.SystemDataGet the systemData property: Read only system data.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.voidvalidate()Validates the instance.withHealthProbeSettings(HealthProbeParameters healthProbeSettings) Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings) Set the loadBalancingSettings property: Load balancing settings for a backend pool.withSessionAffinityState(EnabledState sessionAffinityState) Set the sessionAffinityState property: Whether to allow session affinity on this host.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.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
AfdOriginGroupInner
public AfdOriginGroupInner()Creates an instance of AfdOriginGroupInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
provisioningState
Get the provisioningState property: Provisioning status.- Returns:
- the provisioningState value.
-
deploymentStatus
Get the deploymentStatus property: The deploymentStatus property.- Returns:
- the deploymentStatus value.
-
profileName
Get the profileName property: The name of the profile which holds the origin group.- Returns:
- the profileName value.
-
loadBalancingSettings
Get the loadBalancingSettings property: Load balancing settings for a backend pool.- Returns:
- the loadBalancingSettings value.
-
withLoadBalancingSettings
public AfdOriginGroupInner withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings) Set the loadBalancingSettings property: Load balancing settings for a backend pool.- Parameters:
loadBalancingSettings- the loadBalancingSettings value to set.- Returns:
- the AfdOriginGroupInner object itself.
-
healthProbeSettings
Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.- Returns:
- the healthProbeSettings value.
-
withHealthProbeSettings
Set the healthProbeSettings property: 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 AfdOriginGroupInner object itself.
-
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. Default is 10 mins. This property is currently not supported.- Returns:
- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value.
-
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public AfdOriginGroupInner 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.- Parameters:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.- Returns:
- the AfdOriginGroupInner object itself.
-
sessionAffinityState
Get the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.- Returns:
- the sessionAffinityState value.
-
withSessionAffinityState
Set the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.- Parameters:
sessionAffinityState- the sessionAffinityState value to set.- Returns:
- the AfdOriginGroupInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-