AfdOriginGroupUpdatePropertiesParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. AfdOriginGroupUpdatePropertiesParameters
- com.
Implements
public class AfdOriginGroupUpdatePropertiesParameters
implements JsonSerializable<AfdOriginGroupUpdatePropertiesParameters>
The JSON object that contains the properties of the origin group.
Constructor Summary
| Constructor | Description |
|---|---|
| AfdOriginGroupUpdatePropertiesParameters() |
Creates an instance of Afd |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Afd |
fromJson(JsonReader jsonReader)
Reads an instance of Afd |
|
Health |
healthProbeSettings()
Get the health |
|
Load |
loadBalancingSettings()
Get the load |
| String |
profileName()
Get the profile |
|
Enabled |
sessionAffinityState()
Get the session |
|
Json |
toJson(JsonWriter jsonWriter) |
| Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get the traffic |
| void |
validate()
Validates the instance. |
|
Afd |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the health |
|
Afd |
withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the load |
|
Afd |
withSessionAffinityState(EnabledState sessionAffinityState)
Set the session |
|
Afd |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set the traffic |
Methods inherited from java.lang.Object
Constructor Details
AfdOriginGroupUpdatePropertiesParameters
public AfdOriginGroupUpdatePropertiesParameters()
Creates an instance of AfdOriginGroupUpdatePropertiesParameters class.
Method Details
fromJson
public static AfdOriginGroupUpdatePropertiesParameters fromJson(JsonReader jsonReader)
Reads an instance of AfdOriginGroupUpdatePropertiesParameters from the JsonReader.
Parameters:
Returns:
Throws:
healthProbeSettings
public HealthProbeParameters healthProbeSettings()
Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
Returns:
loadBalancingSettings
public LoadBalancingSettingsParameters loadBalancingSettings()
Get the loadBalancingSettings property: Load balancing settings for a backend pool.
Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the origin group.
Returns:
sessionAffinityState
public EnabledState sessionAffinityState()
Get the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
Returns:
toJson
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
public 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. Default is 10 mins. This property is currently not supported.
Returns:
validate
public void validate()
Validates the instance.
withHealthProbeSettings
public AfdOriginGroupUpdatePropertiesParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
Parameters:
Returns:
withLoadBalancingSettings
public AfdOriginGroupUpdatePropertiesParameters withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.
Parameters:
Returns:
withSessionAffinityState
public AfdOriginGroupUpdatePropertiesParameters withSessionAffinityState(EnabledState sessionAffinityState)
Set the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
Parameters:
Returns:
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public 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. Default is 10 mins. This property is currently not supported.
Parameters:
Returns: