AfdOriginGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cdn. fluent. models. AfdOriginGroupInner
- com.
- com.
public final class AfdOriginGroupInner
extends 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
Constructor | Description |
---|---|
AfdOriginGroupInner() |
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 |
Health |
healthProbeSettings()
Get the health |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Load |
loadBalancingSettings()
Get the load |
String |
name()
Get the name property: The name of the resource. |
String |
profileName()
Get the profile |
Afd |
provisioningState()
Get the provisioning |
Enabled |
sessionAffinityState()
Get the session |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get the traffic |
String |
type()
Get the type property: The type of the resource. |
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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AfdOriginGroupInner
public AfdOriginGroupInner()
Creates an instance of AfdOriginGroupInner class.
Method Details
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Returns:
fromJson
public static AfdOriginGroupInner fromJson(JsonReader jsonReader)
Reads an instance of AfdOriginGroupInner 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:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AfdOriginGroupInner.id()Returns:
loadBalancingSettings
public LoadBalancingSettingsParameters loadBalancingSettings()
Get the loadBalancingSettings property: Load balancing settings for a backend pool.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AfdOriginGroupInner.name()Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the origin group.
Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Returns:
sessionAffinityState
public EnabledState sessionAffinityState()
Get the sessionAffinityState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Read only system data.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AfdOriginGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AfdOriginGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withHealthProbeSettings
public AfdOriginGroupInner 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 AfdOriginGroupInner withLoadBalancingSettings(LoadBalancingSettingsParameters loadBalancingSettings)
Set the loadBalancingSettings property: Load balancing settings for a backend pool.
Parameters:
Returns:
withSessionAffinityState
public AfdOriginGroupInner 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 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:
Returns: