psm analytics create-service

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

Syntax

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

psm analytics 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 Oracle Analytics Cloud - Classic service.
—of|-–output-format (Optional) Desired output format.

Accepted values: json, html, short

Example

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

Note that this command returned a job ID. To see the status of your create-service operation, use this ID with the psm analytics operation-status command:

$ psm analytics operation-status -j 25148

When you see the message:

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

the service was successfully created.