Convert, enable, disable, or set the role of a database
put
/database/dataguard/databases/{database}
Depending on the operation type, the endpoint will convert to physical, convert to snapshot, enable, disable, set as failover, set as switchover, or set as reinstate a database. A client requires SQL Administrator role to invoke this service.
Request
Path Parameters
-
database(required): string
Database name
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
operation: string
Default Value:
ENABLE
Allowed Values:[ "CONVERT_TO_PHYSICAL", "CONVERT_TO_SNAPSHOT", "ENABLE", "DISABLE", "FAILOVER", "SWITCHOVER", "REINSTATE" ]
CONVERT, ENABLE or DISABLE, SET ROLE
Examples
Back to Top
Response
Supported Media Types
- application/problem+json
201 Response
400 Response
Data Guard Bad Request
Headers
-
DG-STATUS(required):
Status of the Data Guard operation.