Fails over to a standby Autonomous Container Database to the primary Autonomous Container Database role.
POST {{baseUrl}}/autonomousContainerDatabases/:autonomousContainerDatabaseId/autonomousContainerDatabaseDataguardAssociations/:autonomousContainerDatabaseDataguardAssociationId/actions/failover
Fails over the standby Autonomous Container Database identified by the autonomousContainerDatabaseId parameter to the primary Autonomous Container Database after the existing primary Autonomous Container Database fails or becomes unreachable.
A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","lifecycleState":"FAILED","autonomousContainerDatabaseId":"\u003cstring\u003e","role":"DISABLED_STANDBY","peerRole":"PRIMARY","applyLag":"\u003cstring\u003e","applyRate":"\u003cstring\u003e","fastStartFailOverLagLimitInSeconds":"\u003cinteger\u003e","isAutomaticFailoverEnabled":"\u003cboolean\u003e","lifecycleDetails":"\u003cstring\u003e","peerAutonomousContainerDatabaseDataguardAssociationId":"\u003cstring\u003e","peerAutonomousContainerDatabaseId":"\u003cstring\u003e","peerLifecycleState":"UPDATING","protectionMode":"MAXIMUM_AVAILABILITY","timeCreated":"\u003cdateTime\u003e","timeLastRoleChanged":"\u003cdateTime\u003e","timeLastSynced":"\u003cdateTime\u003e","transportLag":"\u003cstring\u003e"}