originFailureRecoveryMethod


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"}}