psm analyticssub create-service
Use this command to create a service with Oracle Analytics Cloud Subscription.
Syntax
In the following syntax, line breaks have been added for clarity. Don’t include them when entering the command.
psm analyticssub 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) Output format.
Accepted values: |
Example
$ psm analyticssub create-service -c /home/templates/create-analyticssub-service.json
"Accepted"
Job ID : 25148
This command returned a job ID. To see the status of your
create-service
operation, use this ID with the psm analyticssub operation-status command:
$ psm analyticssub 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":"analyticssub",
"startDate":"2017-02-28T17:04:41.931+0000",
"status":"SUCCEED",
"summaryMessage":"CREATE_SERVICE"