Oracle · Schema
OCI Compute Instance
Schema for an Oracle Cloud Infrastructure compute instance. Defines the structure of a virtual machine or bare metal instance including its shape configuration, source image details, networking, lifecycle state, and metadata.
CloudDatabaseEnterpriseInfrastructureSaaS
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The OCID of the instance. Oracle Cloud Identifier (OCID) is a unique identifier assigned to every OCI resource. |
| compartmentId | string | The OCID of the compartment that contains the instance. Compartments are the primary building blocks for organizing cloud resources. |
| availabilityDomain | string | The availability domain the instance is running in. An availability domain is one or more data centers within a region. |
| faultDomain | string | The fault domain the instance is running in. Fault domains provide anti-affinity within an availability domain. |
| displayName | string | A user-friendly name for the instance. Does not have to be unique and is changeable. Avoid entering confidential information. |
| shape | string | The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. |
| shapeConfig | object | |
| region | string | The region that contains the availability domain the instance is running in. |
| imageId | string | Deprecated. Use sourceDetails instead. The OCID of the image used to boot the instance. |
| sourceDetails | object | |
| lifecycleState | object | |
| timeCreated | string | The date and time the instance was created, in RFC 3339 format. |
| metadata | object | Custom metadata key/value pairs provided for the instance. Common keys include ssh_authorized_keys for providing SSH public keys and user_data for cloud-init scripts (base64-encoded). |
| extendedMetadata | object | Additional metadata key/value pairs that can contain nested JSON objects. |
| launchMode | string | Specifies the configuration mode for launching VM instances. |
| launchOptions | object | |
| agentConfig | object | |
| availabilityConfig | object | |
| platformConfig | object | |
| timeMaintenanceRebootDue | string | The date and time the instance is expected to be stopped or migrated for infrastructure maintenance, if applicable. |
| capacityReservationId | string | The OCID of the compute capacity reservation this instance is launched under. |
| dedicatedVmHostId | string | The OCID of the dedicated virtual machine host the instance is placed on. |
| isCrossNumaNode | boolean | Whether the instance spans multiple NUMA nodes. |
| definedTags | object | |
| freeformTags | object |