OriginGroupUpdatePropertiesParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. OriginGroupUpdatePropertiesParameters
- com.
Implements
public class OriginGroupUpdatePropertiesParameters
implements JsonSerializable<OriginGroupUpdatePropertiesParameters>
The JSON object that contains the properties of the origin group.
Constructor Summary
| Constructor | Description |
|---|---|
| OriginGroupUpdatePropertiesParameters() |
Creates an instance of Origin |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Origin |
fromJson(JsonReader jsonReader)
Reads an instance of Origin |
|
Health |
healthProbeSettings()
Get the health |
|
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. |
|
Origin |
withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the health |
|
Origin |
withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group. |
|
Origin |
withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)
Set the response |
|
Origin |
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)
Set the traffic |
Methods inherited from java.lang.Object
Constructor Details
OriginGroupUpdatePropertiesParameters
public OriginGroupUpdatePropertiesParameters()
Creates an instance of OriginGroupUpdatePropertiesParameters class.
Method Details
fromJson
public static OriginGroupUpdatePropertiesParameters fromJson(JsonReader jsonReader)
Reads an instance of OriginGroupUpdatePropertiesParameters 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:
origins
public List<ResourceReference> origins()
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 OriginGroupUpdatePropertiesParameters 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:
withOrigins
public OriginGroupUpdatePropertiesParameters withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group.
Parameters:
Returns:
withResponseBasedOriginErrorDetectionSettings
public OriginGroupUpdatePropertiesParameters 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 OriginGroupUpdatePropertiesParameters 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: