DeepCreatedOriginGroup Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. DeepCreatedOriginGroup
- com.
public class DeepCreatedOriginGroup
The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.
Constructor Summary
Constructor | Description | |
---|---|---|
DeepCreatedOriginGroup() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Health |
healthProbeSettings()
Get health probe settings to the origin that is used to determine the health of the origin. |
java.lang.String |
name()
Get origin group name which must be unique within the endpoint. |
java.util.List<Resource |
origins()
Get the source of the content being delivered via CDN within given origin group. |
Response |
responseBasedOriginErrorDetectionSettings()
Get the JSON object that contains the properties to determine origin health using real requests/responses. |
java.lang.Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. |
Deep |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set health probe settings to the origin that is used to determine the health of the origin. |
Deep |
withName(String name)
Set origin group name which must be unique within the endpoint. |
Deep |
withOrigins(List<ResourceReference> origins)
Set the source of the content being delivered via CDN within given origin group. |
Deep |
withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the JSON object that contains the properties to determine origin health using real requests/responses. |
Deep |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. |
Methods inherited from java.lang.Object
Constructor Details
DeepCreatedOriginGroup
public DeepCreatedOriginGroup()
Method Details
healthProbeSettings
public HealthProbeParameters healthProbeSettings()
Get health probe settings to the origin that is used to determine the health of the origin.
Returns:
name
public String name()
Get origin group name which must be unique within the endpoint.
Returns:
origins
public List
Get the source of the content being delivered via CDN within given origin group.
Returns:
responseBasedOriginErrorDetectionSettings
public ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings()
Get the JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.
Returns:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
public Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get 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:
withHealthProbeSettings
public DeepCreatedOriginGroup withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set health probe settings to the origin that is used to determine the health of the origin.
Parameters:
Returns:
withName
public DeepCreatedOriginGroup withName(String name)
Set origin group name which must be unique within the endpoint.
Parameters:
Returns:
withOrigins
public DeepCreatedOriginGroup withOrigins(List
Set the source of the content being delivered via CDN within given origin group.
Parameters:
Returns:
withResponseBasedOriginErrorDetectionSettings
public DeepCreatedOriginGroup withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.
Parameters:
Returns:
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public DeepCreatedOriginGroup withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set 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:
Applies to
Azure SDK for Java