Create a Service Instance

post

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/IntegrationCloud/instances

Creates a new service instance.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
JSON payload for this REST endpoint
Root Schema : Request Body
Type: object
Title: Request Body
Show Source
Nested Schema : components
Type: object
components
Show Source
Nested Schema : WLS
Type: object
Show Source
  • Username for the Oracle Database Cloud - Database as a Service instance administrator. This value must be set to a database user with SYSDBA system privileges. You can use the default user SYS or a user that has been granted the SYSDBA privilege.
  • Password for the Oracle Database Cloud - Database as a Service instance administrator.
  • Name of the Oracle Database Cloud - Databse as a Service instance to be used with the API Platform Cloud Service instance. The specified database service instance must be running.
  • Number of managed servers.
Back to Top

Response

Supported Media Types

202 Response

Accepted
Body ()
Root Schema : accepted-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to create an Oracle Integration Classic Instance by submitting a POST request on the REST resource using cURL.

Note:

The command in this example uses the URL structure https://example.com/resource-path, where example.com is the Oracle Cloud server to contact for your identity domain.

cURL Command

curl -i -X POST -u jstein:Password --data @testpayload.json -H "Content-Type:application/vnd.com.oracle.oracloud.provisioning.Service+json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain"  http://example.com/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/IntegrationCloud/instances

Example of Request Header

The following shows an example of the response header.

headers: Content-Type:application/vnd.com.oracle.oracloud.provisioning.Service+json
Authorization: <Basic Auth credentials>
X-ID-TENANT-NAME: <identity domain>

Example of Request Body

The following shows an example of the request body in JSON format.

{
"serviceParameters":
	{
	 "vmPublicKeyText":"ssh-rsa key imported   -openssh-key", 
   "featureSet": "ics_pcs",
   "serviceName":"host21",
   "cloudStorageContainer":"Storage/JaaSBackup",
   "cloudStorageUser":"Storageadmin",
   "cloudStoragePassword":"password", 
   "confirmation": true,
   "meteringFrequency":"HOURLY" 
  }, 
  "componentParameters": 
  { 
 	"WLS":
  {
     "dbServiceName":"OICDBaaS",
     "dbaName":"db_name",
     "dbaPassword":"password",
     "managedServerCount":"2"
   }
 }
}
Back to Top