Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 868 Bytes

oic-start-stop.md

File metadata and controls

26 lines (17 loc) · 868 Bytes

OIC Start/Stop

The following guide applies to OIC Gen-1.

Manually

Using the Console

Using PSM CLI

psm OICINST start-service -s ExampleInstance
psm OICINST stop-service -s ExampleInstance

Using REST APIs

Oracle Support Document 2588158.1 (REST API's for managing OIC instance): https://support.oracle.com/epmos/faces/DocumentDisplay?id=2588158.1

Example:

curl -X POST -u 'myuser':'mypassword' -H 'X-ID-TENANT-NAME: idcs-a566XXXXXXXXeca' 'https://psm.europe.oraclecloud.com:443/paas/api/v1.1/instancemgmt/idcs-a566XXXXXXXXeca/services/OICINST/instances/ExampleInstance/start'

curl -X GET -u 'myuser':'mypassword' -H 'X-ID-TENANT-NAME: idcs-a566XXXXXXXXeca' 'https://psm.europe.oraclecloud.com:443/paas/api/v1.1/activitylog/idcs-a566XXXXXXXXeca/job/184284931'

Requests are included in the Postman collection. See README.md