public class OriginGroupUpdateParameters extends Object
| Constructor and Description |
|---|
OriginGroupUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
HealthProbeParameters |
healthProbeSettings()
Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of
the origin.
|
List<ResourceReference> |
origins()
Get the origins property: The source of the content being delivered via CDN within given origin group.
|
ResponseBasedOriginErrorDetectionParameters |
responseBasedOriginErrorDetectionSettings()
Get the responseBasedOriginErrorDetectionSettings property: The JSON object that contains the properties to
determine origin health using real requests/responses.
|
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.
|
void |
validate()
Validates the instance.
|
OriginGroupUpdateParameters |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of
the origin.
|
OriginGroupUpdateParameters |
withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group.
|
OriginGroupUpdateParameters |
withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the responseBasedOriginErrorDetectionSettings property: The JSON object that contains the properties to
determine origin health using real requests/responses.
|
OriginGroupUpdateParameters |
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.
|
public HealthProbeParameters healthProbeSettings()
public OriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
healthProbeSettings - the healthProbeSettings value to set.public List<ResourceReference> origins()
public OriginGroupUpdateParameters withOrigins(List<ResourceReference> origins)
origins - the origins value to set.public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
public OriginGroupUpdateParameters withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
trafficRestorationTimeToHealedOrNewEndpointsInMinutes - the
trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.public ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings()
public OriginGroupUpdateParameters withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
responseBasedOriginErrorDetectionSettings - the responseBasedOriginErrorDetectionSettings value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.