public class DeepCreatedOriginGroup extends Object
| Constructor and Description |
|---|
DeepCreatedOriginGroup() |
| 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.
|
String |
name()
Get the name property: Origin group name which must be unique within the endpoint.
|
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.This property is currently not supported.
|
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.
|
DeepCreatedOriginGroup |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of
the origin.
|
DeepCreatedOriginGroup |
withName(String name)
Set the name property: Origin group name which must be unique within the endpoint.
|
DeepCreatedOriginGroup |
withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group.
|
DeepCreatedOriginGroup |
withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the responseBasedOriginErrorDetectionSettings property: The JSON object that contains the properties to
determine origin health using real requests/responses.This property is currently not supported.
|
DeepCreatedOriginGroup |
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 String name()
public DeepCreatedOriginGroup withName(String name)
name - the name value to set.public HealthProbeParameters healthProbeSettings()
public DeepCreatedOriginGroup withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
healthProbeSettings - the healthProbeSettings value to set.public List<ResourceReference> origins()
public DeepCreatedOriginGroup withOrigins(List<ResourceReference> origins)
origins - the origins value to set.public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
public DeepCreatedOriginGroup withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
trafficRestorationTimeToHealedOrNewEndpointsInMinutes - the
trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set.public ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings()
public DeepCreatedOriginGroup 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.