curl -X POST -k --data @- http://delphix1.company.com/resources/json/delphix/database/provision \ -b cookies.txt -H "Content-Type: application/json" <<EOF
{
"
container": {
"group": "GROUP-2",
"name": "EGVDB",
"type": "OracleDatabaseContainer"
},
"
source": {
"type": "OracleVirtualSource",
"mountBase": "/mnt/provision",
"allowAutoVDBRestartOnHostReboot": true
},
"
sourceConfig": {
"type": "OracleSIConfig",
"databaseName": "EGVDB",
"uniqueName": "EGVDB",
"repository": "ORACLE_INSTALL-3",
"instance": {
"type": "OracleInstance",
"instanceName": "EGVDB",
"instanceNumber": 1
}
},
"
timeflowPointParameters": {
"type": "TimeflowPointLocation",
"timeflow": "ORACLE_TIMEFLOW-123",
"location": "3043123"
},
"type": "OracleProvisionParameters"
}
EOF
In the above given API:container: Is it the details of target container or source container?
source: Is it the details of target host or source db?
sourceConfig: Is it the details of target host container or source db?
timeflowPointParameters: These are the details of source snapshot.
#Virtualization