AfdOriginGroupProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. AfdOriginGroupUpdatePropertiesParameters - com.
azure. resourcemanager. cdn. fluent. models. AfdOriginGroupProperties
- com.
- com.
public final class AfdOriginGroupProperties
extends AfdOriginGroupUpdatePropertiesParameters
The JSON object that contains the properties of the origin group.
Constructor Summary
| Constructor | Description |
|---|---|
| AfdOriginGroupProperties() |
Creates an instance of Afd |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Deployment |
deploymentStatus()
Get the deployment |
|
static
Afd |
fromJson(JsonReader jsonReader)
Reads an instance of Afd |
| String |
profileName()
Get the profile |
|
Afd |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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 AfdOriginGroupUpdatePropertiesParameters
Methods inherited from java.lang.Object
Constructor Details
AfdOriginGroupProperties
public AfdOriginGroupProperties()
Creates an instance of AfdOriginGroupProperties class.
Method Details
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Returns:
fromJson
public static AfdOriginGroupProperties fromJson(JsonReader jsonReader)
Reads an instance of AfdOriginGroupProperties from the JsonReader.
Parameters:
Returns:
Throws:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the origin group.
Overrides:
AfdOriginGroupProperties.profileName()Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AfdOriginGroupProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AfdOriginGroupProperties.validate()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:
AfdOriginGroupProperties.withHealthProbeSettings(HealthProbeParameters healthProbeSettings)Parameters:
withLoadBalancingSettings
public AfdOriginGroupProperties withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.
Overrides:
AfdOriginGroupProperties.withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)Parameters:
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:
AfdOriginGroupProperties.withSessionAffinityState(EnabledState sessionAffinityState)Parameters:
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:
AfdOriginGroupProperties.withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)Parameters: