Consumer are allowed to provision IT resources on the Oracle Compute Cloud infrastructure service, using the LaunchPlans or Orchestration REST API. For this demonstration, we will use the LaunchPlans REST API. The details of the API are as follows:
API function |
Launch plan used to provision infra resources in Oracle Compute Cloud Service. |
Endpoint |
<RESTEndpoint captured in above section>/launchplan/ Example: https://compute.eucom-north-1.oracleCloud.com/launchplan/ |
HTTP method |
POST |
Request header properties |
Content-Type:application/oracle-compute-v3+json |
Request body |
{ |
Response body |
Provisioned list of instances and their relationships |
The following screenshot shows the creation of a test virtual machine instance by invoking the LaunchPlan REST API via the Postman tool:
HTTP Response Status 201 confirms the request for provisioning was successful. Check the provisioned instance status via the cloud service instances page as shown here: