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
Header Parameters
-
Content-Type(optional): string
Allowed Values:
[ "application/json" ]
Root Schema : DatabaseDataguardDatabasesRequest1
Type:
object
Title:
Show Source
DatabaseDataguardDatabasesRequest1
Nested Schema : operation
Type:
object
Match All
Show Source
-
string
Title:
Operation1
Allowed Values:[ "CONVERT_TO_PHYSICAL", "CONVERT_TO_SNAPSHOT", "ENABLE", "DISABLE", "FAILOVER", "SWITCHOVER", "REINSTATE" ]
CONVERT, ENABLE or DISABLE, SET ROLE -
Default Value:
ENABLE
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 : schema
Default Value: