OriginGroupUpdateParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.OriginGroupUpdateParameters

public class OriginGroupUpdateParameters

Origin group properties needed for origin group creation or update.

Constructor Summary

Constructor Description
OriginGroupUpdateParameters()

Method Summary

Modifier and Type Method and Description
HealthProbeParameters healthProbeSettings()

Get health probe settings to the origin that is used to determine the health of the origin.

java.util.List<ResourceReference> origins()

Get the source of the content being delivered via CDN within given origin group.

ResponseBasedOriginErrorDetectionParameters 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.

OriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)

Set health probe settings to the origin that is used to determine the health of the origin.

OriginGroupUpdateParameters withOrigins(List<ResourceReference> origins)

Set the source of the content being delivered via CDN within given origin group.

OriginGroupUpdateParameters withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)

Set the JSON object that contains the properties to determine origin health using real requests/responses.

OriginGroupUpdateParameters 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OriginGroupUpdateParameters

public OriginGroupUpdateParameters()

Method Details

healthProbeSettings

public HealthProbeParameters healthProbeSettings()

Get health probe settings to the origin that is used to determine the health of the origin.

Returns:

the healthProbeSettings value

origins

public List origins()

Get the source of the content being delivered via CDN within given origin group.

Returns:

the origins value

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:

the responseBasedOriginErrorDetectionSettings value

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:

the trafficRestorationTimeToHealedOrNewEndpointsInMinutes value

withHealthProbeSettings

public OriginGroupUpdateParameters withHealthProbeSettings(HealthProbeParameters healthProbeSettings)

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 OriginGroupUpdateParameters object itself.

withOrigins

public OriginGroupUpdateParameters withOrigins(List origins)

Set the source of the content being delivered via CDN within given origin group.

Parameters:

origins - the origins value to set

Returns:

the OriginGroupUpdateParameters object itself.

withResponseBasedOriginErrorDetectionSettings

public OriginGroupUpdateParameters 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 OriginGroupUpdateParameters object itself.

withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes

public OriginGroupUpdateParameters 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 OriginGroupUpdateParameters object itself.

Applies to