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