Oracle Cloud Infrastructure · JSON Structure

Compute Launch Instance Details Structure

Details for launching a new compute instance.

Type: object Properties: 8 Required: 3
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

LaunchInstanceDetails is a JSON Structure definition published by Oracle Cloud Infrastructure, describing 8 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

compartmentId availabilityDomain shape displayName imageId subnetId shapeConfig freeformTags

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-structure/compute-launch-instance-details-structure.json",
  "name": "LaunchInstanceDetails",
  "description": "Details for launching a new compute instance.",
  "type": "object",
  "properties": {
    "compartmentId": {
      "type": "string",
      "description": "The OCID of the compartment.",
      "example": "ocid1.compartment.oc1..abcdefg123456"
    },
    "availabilityDomain": {
      "type": "string",
      "description": "The availability domain.",
      "example": "Uocm:US-ASHBURN-AD-1"
    },
    "shape": {
      "type": "string",
      "description": "The shape of the instance.",
      "example": "VM.Standard.E4.Flex"
    },
    "displayName": {
      "type": "string",
      "description": "A user-friendly name.",
      "example": "my-new-instance"
    },
    "imageId": {
      "type": "string",
      "description": "The OCID of the image to use.",
      "example": "ocid1.image.oc1.iad.abcdefg123456"
    },
    "subnetId": {
      "type": "string",
      "description": "The OCID of the subnet.",
      "example": "ocid1.subnet.oc1.iad.abcdefg123456"
    },
    "shapeConfig": {
      "type": "object",
      "description": "Configuration for flexible shapes.",
      "example": {
        "ocpus": 2.0,
        "memoryInGBs": 16.0
      }
    },
    "freeformTags": {
      "type": "object",
      "example": {
        "key1": "value1"
      }
    }
  },
  "required": [
    "compartmentId",
    "shape",
    "availabilityDomain"
  ]
}