{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-create-instance-configuration-base-schema.json",
  "title": "CreateInstanceConfigurationBase",
  "description": "Creation details for an instance configuration.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-computemanagement-api-openapi.yml#/components/schemas/CreateInstanceConfigurationBase",
  "properties": {
    "compartmentId": {
      "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment\ncontaining the instance configuration.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only the String type is supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a namespace.\n\nExample: `{\"CostCenter\": \"42\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a\nnamespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Operations\": {\"CostCenter\": \"42\"}}`\n",
      "type": "object"
    },
    "displayName": {
      "description": "A user-friendly name. Does not have to be unique, and it's changeable.\nAvoid entering confidential information.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Free-form tags for this resource. Each tag is a simple key-value pair with no\npredefined name, type, or namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Department\": \"Finance\"}`\n",
      "type": "object"
    },
    "source": {
      "default": "NONE",
      "description": "The source of the instance configuration. An instance configuration defines the\nsettings to use when creating Compute instances, including details\nsuch as the base image, shape, and metadata. You can also specify the associated resources for the\ninstance, such as block volume attachments and network configuration.\n\nWhen you create an instance configuration using an existing instance as a template, the instance\nconfiguration does not include any information from the source instance's boot volume, such as installed\napplications, binaries, and files on the instance. It also does not include the contents of\nany block volumes that are attached to the instance.\n\nTo create an instance configuration that includes the custom setup from an instance's boot volume, you\nmust first create a custom image from the instance (see [CreateImage](#/en/iaas/latest/Image/CreateImage)).\nThen, use the custom image to launch a new instance\n(see [LaunchInstance](#/en/iaas/latest/Instance/LaunchInstance)). Finally, create the instance\nconfiguration based on the instance that you created from the custom image.\n\nTo include block volume contents with an instance configuration, first create a backup of the attached block volumes\n(see [CreateVolumeBackup](#/en/iaas/latest/VolumeBackup/CreateVolumeBackup)). Then, create the instance\nconfiguration by specifying the list of settings, using\n[InstanceConfigurationVolumeSourceFromVolumeBackupDetails](#/en/iaas/latest/datatypes/InstanceConfigurationVolumeSourceFromVolumeBackupDetails)\nto include the block volume backups in the list of settings.\n\nThe following values are supported:\n\n* `NONE`: Creates an instance configuration using the list of settings that you specify.\n* `INSTANCE`: Creates an instance configuration using an existing instance as a template.\n",
      "enum": [
        "NONE",
        "INSTANCE"
      ],
      "type": "string"
    }
  },
  "required": [
    "compartmentId"
  ]
}