GuideReference
TrainingSupportCommunity
Reference

origin_​failure_​recovery_​method

  • Property Manager name: Origin Failure Recovery Method
  • Behavior version: The v2023-01-05 rule format supports the origin_​failure_​recovery_​method behavior v1.0.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Origin Failover requires that you set up a separate rule containing origin failure recovery methods. You also need to set up the Origin Failure Recovery Policy behavior in a separate rule with a desired match criteria, and select the desired failover method. You can do this using Property Manager. Learn more about this process in Adaptive Media Delivery Implementation Guide. You can use the origin​_failure​_recovery​_policy member to edit existing instances of the Origin Failure Recover Policy behavior.

OptionTypeDescriptionRequires
recovery_​methodenum

Specifies the recovery method.

{"displayType":"enum","options":["RETRY_ALTERNATE_ORIGIN","RESPOND_CUSTOM_STATUS"],"tag":"select"}
RETRY_​ALTERNATE_​ORIGIN

Retry with the alternate origin.

RESPOND_​CUSTOM_​STATUS

Customize the response.

custom_​status_​codestring

Specifies the custom status code to be sent to the client.

recovery_​method is RESPOND_​CUSTOM_​STATUS
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"recoveryMethod","op":"eq","value":"RESPOND_CUSTOM_STATUS"}}