OriginGroupProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. OriginGroupUpdatePropertiesParameters - com.
azure. resourcemanager. cdn. fluent. models. OriginGroupProperties
- com.
- com.
public final class OriginGroupProperties
extends OriginGroupUpdatePropertiesParameters
The JSON object that contains the properties of the origin group.
Constructor Summary
| Constructor | Description |
|---|---|
| OriginGroupProperties() |
Creates an instance of Origin |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Origin |
fromJson(JsonReader jsonReader)
Reads an instance of Origin |
|
Origin |
provisioningState()
Get the provisioning |
|
Origin |
resourceState()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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 OriginGroupUpdatePropertiesParameters
Methods inherited from java.lang.Object
Constructor Details
OriginGroupProperties
public OriginGroupProperties()
Creates an instance of OriginGroupProperties class.
Method Details
fromJson
public static OriginGroupProperties fromJson(JsonReader jsonReader)
Reads an instance of OriginGroupProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public OriginGroupProvisioningState provisioningState()
Get the provisioningState property: Provisioning status of the origin group.
Returns:
resourceState
public OriginGroupResourceState resourceState()
Get the resourceState property: Resource status of the origin group.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OriginGroupProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
OriginGroupProperties.validate()withHealthProbeSettings
public OriginGroupProperties withHealthProbeSettings(HealthProbeParameters healthProbeSettings)
Set the healthProbeSettings property: Health probe settings to the origin that is used to determine the health of the origin.
Overrides:
OriginGroupProperties.withHealthProbeSettings(HealthProbeParameters healthProbeSettings)Parameters:
withOrigins
public OriginGroupProperties withOrigins(List<ResourceReference> origins)
Set the origins property: The source of the content being delivered via CDN within given origin group.
Overrides:
OriginGroupProperties.withOrigins(List<ResourceReference> origins)Parameters:
withResponseBasedOriginErrorDetectionSettings
public OriginGroupProperties 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.
Overrides:
OriginGroupProperties.withResponseBasedOriginErrorDetectionSettings(ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings)Parameters:
withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes
public 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. Default is 10 mins. This property is currently not supported.
Overrides:
OriginGroupProperties.withTrafficRestorationTimeToHealedOrNewEndpointsInMinutes(Integer trafficRestorationTimeToHealedOrNewEndpointsInMinutes)Parameters: