Switches the primary Autonomous Container Database of an Autonomous Data Guard association to standby role.

POST {{baseUrl}}/autonomousContainerDatabases/:autonomousContainerDatabaseId/autonomousContainerDatabaseDataguardAssociations/:autonomousContainerDatabaseDataguardAssociationId/actions/switchover

Switches over the primary Autonomous Container Database of an Autonomous Data Guard peer association to standby role. The standby Autonomous Container Database associated with autonomousContainerDatabaseDataguardAssociationId assumes the primary Autonomous Container Database role.

A switchover incurs no data loss.

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor 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.
Acceptstring

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