psm autoanalyticsinst stop-service
Use this command to pause an Oracle Analytics Cloud service to temporarily prevent access.
Syntax
In the following syntax, line breaks have been added for clarity. Don't include them when entering the command.
psm autoanalyticsinst stop-service -s|--service-name service-name
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
|
Name of the service. |
-of|-–output-format |
(Optional) Specifies the output format.
Accepted values: |
Examples
The following example pauses the Example1Service
service.
$ psm autoanalyticsinst stop-service -s Example1Service
"Accepted"
Job ID : 34348
This command returns a job ID. To see the status of your stop
operation, use this ID with the psm autoanalyticsinst operation-status command:
$ psm autoanalyticsinst operation-status -j 34348
When you see the following message, the service has been successfully paused.
"operationId":364,
"operationType":"STOP_SERVICE",
"serviceId":364,
"serviceName":"Example1Service",
"serviceType":"autoanalyticsinst",
"startDate":"2017-02-28T21:08:31.022+0000",
"status":"SUCCEED",
"summaryMessage":"STOP_SERVICE"