Monday, April 13, 2015

How to create a DBCS Instance using REST APIs? (Part 2)

To create an Oracle Database Cloud Service instance 12c, modify the previous script as below :

{
"serviceName": "DB12c-EE-REST",
"version": "12.1.0.2",
"level": "PAAS",
"edition": "EE",
"subscriptionType": "HOURLY",
"description": "DBCS REST TEST",
"shape": "oc3",
"parameters": [
{
"type": "db",
"usableStorage": "10",
"adminPassword": "Manager12#",
"sid": "ORCL",
"pdb": "PDB1",
"failoverDatabase": "no",
"backupDestination": "BOTH",
"cloudStorageContainer": "Storage-froraclejpp/backup_container",
"cloudStorageUser": "jpp_user",
"cloudStoragePwd": " JPP_PASSWORD "
}
],
"vmPublicKeyText": "ssh-rsa AAAAB3NzaC1yc2EAAAABJ= rsa-key-20150105"
}