DeepCreatedOriginGroup Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. DeepCreatedOriginGroup
- com.
Implements
public final class DeepCreatedOriginGroup
implements JsonSerializable<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() |
Creates an instance of Deep |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deep |
fromJson(JsonReader jsonReader)
Reads an instance of Deep |
Health |
healthProbeSettings()
Get the health |
String |
name()
Get the name property: Origin group name which must be unique within the endpoint. |
List<Resource |
origins()
Get the origins property: The source of the content being delivered via CDN within given origin group. |
Response |
responseBasedOriginErrorDetectionSettings()
Get the response |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
trafficRestorationTimeToHealedOrNewEndpointsInMinutes()
Get the traffic |
void |
validate()
Validates the instance. |
Deep |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the health |
Deep |
withName(String name)
Set the name property: Origin group name which must be unique within the endpoint. |
Deep |
withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group. |
Deep |
withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the response |
Deep |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set the traffic |
Methods inherited from java.lang.Object
Constructor Details
DeepCreatedOriginGroup
public DeepCreatedOriginGroup()
Creates an instance of DeepCreatedOriginGroup class.
Method Details
fromJson
public static DeepCreatedOriginGroup fromJson(JsonReader jsonReader)
Reads an instance of DeepCreatedOriginGroup from the JsonReader.
Parameters:
Returns:
Throws:
healthProbeSettings
public HealthProbeParameters healthProbeSettings()
Get the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
Returns:
name
public String name()
Get the name property: Origin group name which must be unique within the endpoint.
Returns:
origins
public List
Get the origins property: The source of the content being delivered via CDN within given origin group.
Returns:
responseBasedOriginErrorDetectionSettings
public ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings()
Get the responseBasedOriginErrorDetectionSettings property: The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.
Returns:
toJson
trafficRestorationTimeToHealedOrNewEndpointsInMinutes
public 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. Default is 10 mins. This property is currently not supported.
Returns:
validate
public void validate()
Validates the instance.
withHealthProbeSettings
public DeepCreatedOriginGroup withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: 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 the name property: Origin group name which must be unique within the endpoint.
Parameters:
Returns:
withOrigins
public DeepCreatedOriginGroup withOrigins(List
Set the origins property: The source of the content being delivered via CDN within given origin group.
Parameters:
Returns:
withResponseBasedOriginErrorDetectionSettings
public DeepCreatedOriginGroup withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the responseBasedOriginErrorDetectionSettings property: 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 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. Default is 10 mins. This property is currently not supported.
Parameters:
Returns: