EventDestinationStatus
Gives the lifecycle state of an event destination. Only ACTIVE delivers events.
EventDestinationStatusValues
Pending verification: nothing is delivered until verifyEventDestination succeeds. Only webhooks use it; changing the endpoint sends the webhook back here.
Live: matching events are delivered, or can be pulled.
Stopped: nothing is delivered or handed out. Set by pauseEventDestination, or by Occtoo when the target keeps refusing access (for a webhook, when the endpoint keeps answering HTTP 401 or 403). resumeEventDestination makes it ACTIVE again.
Failed: Occtoo stopped delivering because the target is gone (a webhook answered HTTP 410, or the Azure queue or entity doesn't exist or is disabled). It can't be resumed; a webhook whose endpoint changes goes back to PENDING_VERIFICATION.
Deleted by deleteEventDestination. Nothing is delivered and it can't be restored.
Was this page helpful?