Class DeepCreatedOriginGroup
java.lang.Object
com.microsoft.azure.management.cdn.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
-
Method Summary
Modifier and TypeMethodDescriptionGet health probe settings to the origin that is used to determine the health of the origin.name()
Get origin group name which must be unique within the endpoint.origins()
Get the source of the content being delivered via CDN within given origin group.Get the JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.Get time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added.withHealthProbeSettings
(HealthProbeParameters healthProbeSettings) Set health probe settings to the origin that is used to determine the health of the origin.Set origin group name which must be unique within the endpoint.withOrigins
(List<ResourceReference> origins) Set the source of the content being delivered via CDN within given origin group.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.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.
-
Constructor Details
-
DeepCreatedOriginGroup
public DeepCreatedOriginGroup()
-
-
Method Details
-
name
Get origin group name which must be unique within the endpoint.- Returns:
- the name value
-
withName
Set origin group name which must be unique within the endpoint.- Parameters:
name
- the name value to set- Returns:
- the DeepCreatedOriginGroup object itself.
-
healthProbeSettings
Get health probe settings to the origin that is used to determine the health of the origin.- Returns:
- the healthProbeSettings value
-
withHealthProbeSettings
Set health probe settings to the origin that is used to determine the health of the origin.- Parameters:
healthProbeSettings
- the healthProbeSettings value to set- Returns:
- the DeepCreatedOriginGroup object itself.
-
origins
Get the source of the content being delivered via CDN within given origin group.- Returns:
- the origins value
-
withOrigins
Set the source of the content being delivered via CDN within given origin group.- Parameters:
origins
- the origins value to set- Returns:
- the DeepCreatedOriginGroup object itself.
-
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:
- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value
-
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:
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
- the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value to set- Returns:
- the DeepCreatedOriginGroup object itself.
-
responseBasedOriginErrorDetectionSettings
Get the JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.- Returns:
- the responseBasedOriginErrorDetectionSettings value
-
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:
responseBasedOriginErrorDetectionSettings
- the responseBasedOriginErrorDetectionSettings value to set- Returns:
- the DeepCreatedOriginGroup object itself.
-