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