psm autoanalyticsinst create-service

Use this command to create a service with Oracle Analytics Cloud.

Syntax

In the following syntax, line breaks have been added for clarity. Don’t include them when entering the command.

psm autoanalyticsinst create-service -c|-–config-payload pathToConfig-Payload 
  [-of|--output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
—c|-–config-payload Path to the JSON file that contains the configuration parameters for accessing the service.
—of|-–output-format (Optional) Specifies the output format.

Accepted values: json, html, short.

Example

$ psm autoanalyticsinst create-service -c /home/templates/create-autoanalyticsinst-service.json 
"Accepted"
Job ID : 25148

This command returns a job ID. To see the status of your create-service operation, use this ID with the psm autoanalyticsinst operation-status command:

$ psm autoanalyticsinst operation-status -j 25148

When you see the following message, the service was successfully created.

 "operationId":364,
 "operationType":"CREATE_SERVICE",
 "serviceId":364,
 "serviceName":"Example1Service",
 "serviceType":"autoanalyticsinst",
 "startDate":"2017-02-28T17:04:41.931+0000",
 "status":"SUCCEED",
 "summaryMessage":"CREATE_SERVICE"