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
Supported Media Types
- application/json
Path Parameters
-
database: string
Database name
Root Schema : schema
Type:
Show Source
object
-
operation(optional):
string
Default Value:
ENABLE
Allowed Values:[ "CONVERT_TO_PHYSICAL", "CONVERT_TO_SNAPSHOT", "ENABLE", "DISABLE", "FAILOVER", "SWITCHOVER", "REINSTATE" ]
CONVERT, ENABLE or DISABLE, SET ROLE
Response
Supported Media Types
- application/problem+json
201 Response
400 Response
Data Guard Bad Request
Headers
-
DG-STATUS: string
Status of the Data Guard operation.
Root Schema : BadRequest
An object with message errors.