{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-launch-instance-details-schema.json",
  "title": "LaunchInstanceDetails",
  "description": "Instance launch details.\nUse the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-compute-api-openapi.yml#/components/schemas/LaunchInstanceDetails",
  "properties": {
    "agentConfig": {
      "$ref": "#/$defs/LaunchInstanceAgentConfigDetails"
    },
    "availabilityConfig": {
      "$ref": "#/$defs/LaunchInstanceAvailabilityConfigDetails"
    },
    "availabilityDomain": {
      "description": "The availability domain of the instance.\n\nExample: `Uocm:PHX-AD-1`\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "capacityReservationId": {
      "description": "The OCID of the compute capacity reservation this instance is launched under.\nYou can opt out of all default reservations by specifying an empty string as input for this field.\nFor more information, see [Capacity Reservations](/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).\n",
      "maxLength": 255,
      "minLength": 0,
      "type": "string",
      "x-default-description": "A default reservation refers to the reservation into which all instance launches are first attempted.\nIf an instance is launched without specifying a reservation ID or if a reservation ID is not present in the JSON input,\nthe instance is automatically launched under this reservation. To opt out, include capacityReservationId: \"\" in your JSON input.\nUsing an empty string for this field value causes the instance to be launched as a normal instance and not under the default reservation.\n"
    },
    "clusterPlacementGroupId": {
      "description": "The OCID of the cluster placement group of the instance.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "compartmentId": {
      "description": "The OCID of the compartment.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "computeClusterId": {
      "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the\n[compute cluster](/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "createVnicDetails": {
      "$ref": "#/$defs/CreateVnicDetails"
    },
    "dedicatedVmHostId": {
      "description": "The OCID of the dedicated virtual machine host to place the instance on.\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"
    },
    "extendedMetadata": {
      "additionalProperties": {
        "type": "object"
      },
      "description": "Additional metadata key/value pairs that you provide. They serve the same purpose and\nfunctionality as fields in the `metadata` object.\n\nThey are distinguished from `metadata` fields in that these can be nested JSON objects\n(whereas `metadata` fields are string/string maps only).\n\nThe combined size of the `metadata` and `extendedMetadata` objects can be a maximum of\n32,000 bytes.\n",
      "type": "object"
    },
    "faultDomain": {
      "description": "A fault domain is a grouping of hardware and infrastructure within an availability domain.\nEach availability domain contains three fault domains. Fault domains let you distribute your\ninstances so that they are not on the same physical hardware within a single availability domain.\nA hardware failure or Compute hardware maintenance that affects one fault domain does not affect\ninstances in other fault domains.\n\nIf you do not specify the fault domain, the system selects one for you.\n\n\nTo get a list of fault domains, use the\n[ListFaultDomains](#/en/identity/20160918/FaultDomain/ListFaultDomains) operation in the\nIdentity and Access Management Service API.\n\nExample: `FAULT-DOMAIN-1`\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"
    },
    "hostnameLabel": {
      "description": "Deprecated. Instead use `hostnameLabel` in\n[CreateVnicDetails](#/en/iaas/latest/CreateVnicDetails/).\nIf you provide both, the values must match.\n",
      "maxLength": 63,
      "minLength": 1,
      "type": "string"
    },
    "imageId": {
      "description": "Deprecated. Use `sourceDetails` with [InstanceSourceViaImageDetails](#/en/iaas/latest/requests/InstanceSourceViaImageDetails)\nsource type instead. If you specify values for both, the values must match.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "instanceConfigurationId": {
      "description": "The OCID of the Instance Configuration containing instance launch details. Any other fields supplied in this instance launch request will override the details stored in the Instance Configuration for this instance launch.",
      "type": "string"
    },
    "instanceOptions": {
      "$ref": "#/$defs/InstanceOptions"
    },
    "ipxeScript": {
      "description": "This is an advanced option.\n\nWhen a bare metal or virtual machine\ninstance boots, the iPXE firmware that runs on the instance is\nconfigured to run an iPXE script to continue the boot process.\n\nIf you want more control over the boot process, you can provide\nyour own custom iPXE script that will run when the instance boots.\nBe aware that the same iPXE script will run\nevery time an instance boots, not only after the initial\nLaunchInstance call.\n\nThe default iPXE script connects to the instance's local boot\nvolume over iSCSI and performs a network boot. If you use a custom iPXE\nscript and want to network-boot from the instance's local boot volume\nover iSCSI the same way as the default iPXE script, use the\nfollowing iSCSI IP address: 169.254.0.2, and boot volume IQN:\niqn.2015-02.oracle.boot.\n\nIf your instance boot volume attachment type is paravirtualized,\nthe boot volume is attached to the instance through virtio-scsi and no iPXE script is used.\nIf your instance boot volume attachment type is paravirtualized\nand you use custom iPXE to network boot into your instance,\nthe primary boot volume is attached as a data volume through virtio-scsi drive.\n\nFor more information about the Bring Your Own Image feature of\nOracle Cloud Infrastructure, see\n[Bring Your Own Image](/iaas/Content/Compute/References/bringyourownimage.htm).\n\nFor more information about iPXE, see http://ipxe.org.\n",
      "maxLength": 10240,
      "minLength": 1,
      "type": "string"
    },
    "isAIEnterpriseEnabled": {
      "default": false,
      "description": "Whether to enable AI enterprise on the instance.\n",
      "type": "boolean"
    },
    "isPvEncryptionInTransitEnabled": {
      "description": "Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.",
      "type": "boolean"
    },
    "launchMode": {
      "description": "Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:\n* `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for platform images.\n* `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.\n* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.\n* `ACCELERATEDPV` - VM instances launch with accelerated paravirtualized networking type.\n* `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.\n",
      "enum": [
        "NATIVE",
        "EMULATED",
        "PARAVIRTUALIZED",
        "ACCELERATEDPV",
        "CUSTOM"
      ],
      "type": "string",
      "x-obmcs-resolve-component-ref": true
    },
    "launchOptions": {
      "$ref": "#/$defs/LaunchOptions"
    },
    "launchVolumeAttachments": {
      "description": "Volume attachments to create as part of the launch instance operation.",
      "items": {
        "$ref": "#/$defs/LaunchAttachVolumeDetails"
      },
      "type": "array"
    },
    "licensingConfigs": {
      "description": "List of licensing configurations associated with target launch values.",
      "items": {
        "$ref": "#/$defs/LaunchInstanceLicensingConfig"
      },
      "type": "array"
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom metadata key/value pairs that you provide, such as the SSH public key\nrequired to connect to the instance.\n\nA metadata service runs on every launched instance. The service is an HTTP\nendpoint listening on 169.254.169.254. You can use the service to:\n\n* Provide information to [Cloud-Init](https://cloudinit.readthedocs.org/en/latest/)\n  to be used for various system initialization tasks.\n\n* Get information about the instance, including the custom metadata that you\n  provide when you launch the instance.\n\n **Providing Cloud-Init Metadata**\n\n You can use the following metadata key names to provide information to\n Cloud-Init:\n\n **\"ssh_authorized_keys\"** - Provide one or more public SSH keys to be\n included in the `~/.ssh/authorized_keys` file for the default user on the\n instance. Use a newline character to separate multiple keys. The SSH\n keys must be in the format necessary for the `authorized_keys` file, as shown\n in the example below.\n\n **\"user_data\"** - Provide your own base64-encoded data to be used by\n Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For\n information about how to take advantage of user data, see the\n [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html).\n\n **Metadata Example**\n\n      \"metadata\" : {\n         \"quake_bot_level\" : \"Severe\",\n         \"ssh_authorized_keys\" : \"ssh-rsa <your_public_SSH_key>== rsa-key-20160227\",\n         \"user_data\" : \"<your_public_SSH_key>==\"\n      }\n **Getting Metadata on the Instance**\n\n To get information about your instance, connect to the instance using SSH and issue any of the\n following GET requests:\n\n     curl -H \"Authorization: Bearer Oracle\" http://169.254.169.254/opc/v2/instance/\n     curl -H \"Authorization: Bearer Oracle\" http://169.254.169.254/opc/v2/instance/metadata/\n     curl -H \"Authorization: Bearer Oracle\" http://169.254.169.254/opc/v2/instance/metadata/<any-key-name>\n\n You'll get back a response that includes all the instance information; only the metadata information; or\n the metadata information for the specified key name, respectively.\n\n The combined size of the `metadata` and `extendedMetadata` objects can be a maximum of 32,000 bytes.\n",
      "type": "object"
    },
    "placementConstraintDetails": {
      "$ref": "#/$defs/PlacementConstraintDetails"
    },
    "platformConfig": {
      "$ref": "#/$defs/LaunchInstancePlatformConfig"
    },
    "preemptibleInstanceConfig": {
      "$ref": "#/$defs/PreemptibleInstanceConfigDetails"
    },
    "securityAttributes": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a [ZPR namespace](/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attribute-namespaces).\n",
        "type": "object"
      },
      "description": "[Security attributes](/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels\nfor a resource that can be referenced in a [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/overview.htm)\n(ZPR) policy to control access to ZPR-supported resources.\n\nExample: `{\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}`\n",
      "type": "object"
    },
    "shape": {
      "description": "The shape of an instance. The shape determines the number of CPUs, amount of memory,\nand other resources allocated to the instance.\n\nYou can enumerate all available shapes by calling [ListShapes](#/en/iaas/latest/Shape/ListShapes).\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "shapeConfig": {
      "$ref": "#/$defs/LaunchInstanceShapeConfigDetails"
    },
    "sourceDetails": {
      "$ref": "#/$defs/InstanceSourceDetails"
    },
    "subnetId": {
      "description": "Deprecated. Instead use `subnetId` in\n[CreateVnicDetails](#/en/iaas/latest/CreateVnicDetails/).\nAt least one of them is required; if you provide both, the values must match.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "compartmentId",
    "availabilityDomain"
  ],
  "$defs": {
    "CreateVnicDetails": {
      "description": "Contains properties for a VNIC. You use this object when creating the\nprimary VNIC during instance launch or when creating a secondary VNIC.\nFor more information about VNICs, see\n[Virtual Network Interface Cards (VNICs)](/iaas/Content/Network/Tasks/managingVNICs.htm).\n",
      "properties": {
        "assignIpv6Ip": {
          "default": false,
          "description": "Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled\nsubnet. Default: False. When provided you may optionally provide an IPv6 prefix\n(`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`\nis not provided then an IPv6 prefix is chosen\nfor you.\n",
          "type": "boolean"
        },
        "assignPrivateDnsRecord": {
          "description": "Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS record\nregistration for the VNIC. If set to true, the DNS record will be registered. The default\nvalue is true.\n\nIf you specify a `hostnameLabel`, then `assignPrivateDnsRecord` must be set to true.\n",
          "type": "boolean"
        },
        "assignPublicIp": {
          "description": "Whether the VNIC should be assigned a public IP address. Defaults to whether\nthe subnet is public or private. If not set and the VNIC is being created\nin a private subnet (that is, where `prohibitPublicIpOnVnic` = true in the\n[Subnet](#/en/iaas/latest/Subnet/)), then no public IP address is assigned.\nIf not set and the subnet is public (`prohibitPublicIpOnVnic` = false), then\na public IP address is assigned. If set to true and\n`prohibitPublicIpOnVnic` = true, an error is returned.\n\n**Note:** This public IP address is associated with the primary private IP\non the VNIC. For more information, see\n[IP Addresses](/iaas/Content/Network/Tasks/managingIPaddresses.htm).\n\n**Note:** There's a limit to the number of [public IPs](#/en/iaas/latest/PublicIp/)\na VNIC or instance can have. If you try to create a secondary VNIC\nwith an assigned public IP for an instance that has already\nreached its public IP limit, an error is returned. For information\nabout the public IP limits, see\n[Public IP Addresses](/iaas/Content/Network/Tasks/managingpublicIPs.htm).\n\nExample: `false`\n\nIf you specify a `vlanId`, then `assignPublicIp` must be set to false. See\n[Vlan](#/en/iaas/latest/Vlan).\n",
          "type": "boolean"
        },
        "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"
        },
        "hostnameLabel": {
          "description": "The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname\nportion of the primary private IP's fully qualified domain name (FQDN)\n(for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`).\nMust be unique across all VNICs in the subnet and comply with\n[RFC 952](https://tools.ietf.org/html/rfc952) and\n[RFC 1123](https://tools.ietf.org/html/rfc1123).\nThe value appears in the [Vnic](#/en/iaas/latest/Vnic/) object and also the\n[PrivateIp](#/en/iaas/latest/PrivateIp/) object returned by\n[ListPrivateIps](#/en/iaas/latest/PrivateIp/ListPrivateIps) and\n[GetPrivateIp](#/en/iaas/latest/PrivateIp/GetPrivateIp).\n\nFor more information, see\n[DNS in Your Virtual Cloud Network](/iaas/Content/Network/Concepts/dns.htm).\n\nWhen launching an instance, use this `hostnameLabel` instead\nof the deprecated `hostnameLabel` in\n[LaunchInstanceDetails](#/en/iaas/latest/requests/LaunchInstanceDetails).\nIf you provide both, the values must match.\n\nExample: `bminstance1`\n\nIf you specify a `vlanId`, the `hostnameLabel` cannot be specified. VNICs on a VLAN\ncan not be assigned a hostname. See [Vlan](#/en/iaas/latest/Vlan).\n",
          "maxLength": 63,
          "minLength": 1,
          "type": "string"
        },
        "ipv6AddressIpv6SubnetCidrPairDetails": {
          "description": "A list of IPv6 prefix ranges from which the VNIC is assigned an IPv6 address.\nYou can provide only the prefix ranges from which OCI selects an available\naddress from the range. You can optionally choose to leave the prefix range empty\nand instead provide the specific IPv6 address within that range to use.\n",
          "items": {
            "$ref": "#/$defs/Ipv6AddressIpv6SubnetCidrPairDetails"
          },
          "type": "array"
        },
        "nsgIds": {
          "description": "A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more\ninformation about NSGs, see\n[NetworkSecurityGroup](#/en/iaas/latest/NetworkSecurityGroup/).\n\nIf a `vlanId` is specified, the `nsgIds` cannot be specified. The `vlanId`\nindicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs,\nall VNICs in the VLAN belong to the NSGs that are associated with the VLAN.\nSee [Vlan](#/en/iaas/latest/Vlan).\n",
          "items": {
            "maxLength": 255,
            "minLength": 1,
            "type": "string"
          },
          "maxItems": 5,
          "type": "array",
          "uniqueItems": true
        },
        "privateIp": {
          "description": "A private IP address of your choice to assign to the VNIC. Must be an\navailable IP address within the subnet's CIDR. If you don't specify a\nvalue, Oracle automatically assigns a private IP address from the subnet.\nThis is the VNIC's *primary* private IP address. The value appears in\nthe [Vnic](#/en/iaas/latest/Vnic/) object and also the\n[PrivateIp](#/en/iaas/latest/PrivateIp/) object returned by\n[ListPrivateIps](#/en/iaas/latest/PrivateIp/ListPrivateIps) and\n[GetPrivateIp](#/en/iaas/latest/PrivateIp/GetPrivateIp).\n\n\nIf you specify a `vlanId`, the `privateIp` cannot be specified.\nSee [Vlan](#/en/iaas/latest/Vlan).\n\nIf you specify a 'privateIpId', the 'privateIp' cannot be specified.\n\nExample: `10.0.3.3`\n",
          "maxLength": 46,
          "minLength": 1,
          "type": "string"
        },
        "privateIpId": {
          "description": "An [OCID](/iaas/Content/General/Concepts/identifiers.htm) that specifies a previously-reserved IP address to use for this VNIC.\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "securityAttributes": {
          "additionalProperties": {
            "additionalProperties": {
              "description": "The value of the tag.\n",
              "type": "object"
            },
            "description": "Key-value pair representing a defined tag key and value, scoped to a [ZPR namespace](/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attribute-namespaces).\n",
            "type": "object"
          },
          "description": "[Security attributes](/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels\nfor a resource that can be referenced in a [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/overview.htm)\n(ZPR) policy to control access to ZPR-supported resources.\n\nExample: `{\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}`\n",
          "type": "object"
        },
        "skipSourceDestCheck": {
          "description": "Whether the source/destination check is disabled on the VNIC.\nDefaults to `false`, which means the check is performed. For information\nabout why you would skip the source/destination check, see\n[Using a Private IP as a Route Target](/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).\n\n\nIf you specify a `vlanId`, the `skipSourceDestCheck` cannot be specified because the\nsource/destination check is always disabled for VNICs in a VLAN. See\n[Vlan](#/en/iaas/latest/Vlan).\n\nExample: `true`\n",
          "type": "boolean"
        },
        "subnetCidr": {
          "description": "One of the IPv4 CIDR blocks allocated to the subnet. Represents the IP range\nfrom which the VNIC's private IP address will be assigned if `privateIp` or\n`privateIpId` is not specified.\nEither this field or the `privateIp` (or `privateIpId`, if applicable) field\nmust be provided, but not both simultaneously.\nExample: `192.168.1.0/28`\n",
          "maxLength": 18,
          "minLength": 9,
          "type": "string"
        },
        "subnetId": {
          "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance,\nuse this `subnetId` instead of the deprecated `subnetId` in\n[LaunchInstanceDetails](#/en/iaas/latest/requests/LaunchInstanceDetails).\nAt least one of them is required; if you provide both, the values must match.\n\nIf you are an Oracle Cloud VMware Solution customer and creating a secondary\nVNIC in a VLAN instead of a subnet, provide a `vlanId` instead of a `subnetId`.\nIf you provide both a `vlanId` and `subnetId`, the request fails.\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "vlanId": {
          "description": "Provide this attribute only if you are an Oracle Cloud VMware Solution\ncustomer and creating a secondary VNIC in a VLAN. The value is the [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.\nSee [Vlan](#/en/iaas/latest/Vlan).\n\nProvide a `vlanId` instead of a `subnetId`. If you provide both a\n`vlanId` and `subnetId`, the request fails.\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      }
    },
    "InstanceAgentPluginConfigDetails": {
      "description": "The configuration of plugins associated with this instance.",
      "properties": {
        "desiredState": {
          "description": "Whether the plugin should be enabled or disabled.\n\nTo enable the monitoring and management plugins, the `isMonitoringDisabled` and\n`isManagementDisabled` attributes must also be set to false.\n",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "type": "string"
        },
        "name": {
          "description": "The plugin name. To get a list of available plugins, use the\n[ListInstanceagentAvailablePlugins](#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins)\noperation in the Oracle Cloud Agent API. For more information about the available plugins, see\n[Managing Plugins with Oracle Cloud Agent](/iaas/Content/Compute/Tasks/manage-plugins.htm).\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "name",
        "desiredState"
      ],
      "type": "object"
    },
    "InstanceOptions": {
      "description": "Optional mutable instance options",
      "properties": {
        "areLegacyImdsEndpointsDisabled": {
          "description": "Whether to disable the legacy (/v1) instance metadata service endpoints.\nCustomers who have migrated to /v2 should set this to true for added security.\nDefault is false.\n",
          "type": "boolean"
        }
      }
    },
    "InstanceSourceDetails": {
      "properties": {
        "sourceType": {
          "description": "The source type for the instance.\nUse `image` when specifying the image OCID. Use `bootVolume` when specifying\nthe boot volume OCID.\n",
          "type": "string"
        }
      },
      "required": [
        "sourceType"
      ]
    },
    "Ipv6AddressIpv6SubnetCidrPairDetails": {
      "description": "Details to assign an IPv6 subnet prefix and IPv6 address on VNIC creation.\n",
      "properties": {
        "ipv6Address": {
          "description": "An IPv6 address of your choice. Must be an available IPv6 address within the subnet's prefix.\nIf an IPv6 address is not provided:\n- Oracle will automatically assign an IPv6 address from the subnet's IPv6 prefix if and only if there is only one IPv6 prefix on the subnet.\n- Oracle will automatically assign an IPv6 address from the subnet's IPv6 Oracle GUA prefix if it exists on the subnet.\n",
          "maxLength": 45,
          "minLength": 1,
          "type": "string",
          "x-default-description": "null"
        },
        "ipv6Id": {
          "description": "An [OCID](/iaas/Content/General/Concepts/identifiers.htm) that specifies a previously-reserved ipv6 to use.\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "ipv6SubnetCidr": {
          "description": "The IPv6 prefix allocated to the subnet.\n",
          "maxLength": 45,
          "minLength": 1,
          "type": "string",
          "x-default-description": "null"
        }
      }
    },
    "LaunchAttachVolumeDetails": {
      "description": "The details of the volume to attach.",
      "properties": {
        "device": {
          "description": "The device name. To retrieve a list of devices for a given instance, see [ListInstanceDevices](#/en/iaas/latest/Device/ListInstanceDevices).",
          "maxLength": 100,
          "minLength": 3,
          "type": "string"
        },
        "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"
        },
        "isReadOnly": {
          "description": "Whether the attachment was created in read-only mode.",
          "type": "boolean"
        },
        "isShareable": {
          "default": false,
          "description": "Whether the attachment should be created in shareable mode. If an attachment\nis created in shareable mode, then other instances can attach the same volume, provided\nthat they also create their attachments in shareable mode. Only certain volume types can\nbe attached in shareable mode. Defaults to false if not specified.\n",
          "type": "boolean"
        },
        "launchCreateVolumeDetails": {
          "$ref": "#/$defs/LaunchCreateVolumeDetails"
        },
        "type": {
          "description": "The type of volume attachment. Currently, the only supported values are \"iscsi\" and \"paravirtualized\".",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "volumeId": {
          "description": "The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.\n",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "LaunchCreateVolumeDetails": {
      "description": "Define a volume that will be created and attached or attached to an instance on creation.",
      "properties": {
        "volumeCreationType": {
          "description": "Specifies the method for volume creation.",
          "enum": [
            "ATTRIBUTES"
          ],
          "type": "string"
        }
      },
      "required": [
        "volumeCreationType"
      ]
    },
    "LaunchInstanceAgentConfigDetails": {
      "description": "Configuration options for the Oracle Cloud Agent software running on the instance.",
      "properties": {
        "areAllPluginsDisabled": {
          "default": false,
          "description": "Whether Oracle Cloud Agent can run all the available plugins.\nThis includes the management and monitoring plugins.\n\nTo get a list of available plugins, use the\n[ListInstanceagentAvailablePlugins](#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins)\noperation in the Oracle Cloud Agent API. For more information about the available plugins, see\n[Managing Plugins with Oracle Cloud Agent](/iaas/Content/Compute/Tasks/manage-plugins.htm).\n",
          "type": "boolean"
        },
        "isManagementDisabled": {
          "default": false,
          "description": "Whether Oracle Cloud Agent can run all the available management plugins.\nDefault value is false (management plugins are enabled).\n\nThese are the management plugins: OS Management Service Agent and Compute Instance\nRun Command.\n\nThe management plugins are controlled by this parameter and by the per-plugin\nconfiguration in the `pluginsConfig` object.\n\n- If `isManagementDisabled` is true, all of the management plugins are disabled, regardless of\nthe per-plugin configuration.\n- If `isManagementDisabled` is false, all of the management plugins are enabled. You\ncan optionally disable individual management plugins by providing a value in the `pluginsConfig`\nobject.\n",
          "type": "boolean"
        },
        "isMonitoringDisabled": {
          "default": false,
          "description": "Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the\nmonitoring plugins. Default value is false (monitoring plugins are enabled).\n\nThese are the monitoring plugins: Compute Instance Monitoring\nand Custom Logs Monitoring.\n\nThe monitoring plugins are controlled by this parameter and by the per-plugin\nconfiguration in the `pluginsConfig` object.\n\n- If `isMonitoringDisabled` is true, all of the monitoring plugins are disabled, regardless of\nthe per-plugin configuration.\n- If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You\ncan optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`\nobject.\n",
          "type": "boolean"
        },
        "pluginsConfig": {
          "description": "The configuration of plugins associated with this instance.",
          "items": {
            "$ref": "#/$defs/InstanceAgentPluginConfigDetails"
          },
          "maxLength": 128,
          "type": "array"
        }
      }
    },
    "LaunchInstanceAvailabilityConfigDetails": {
      "description": "Options for VM migration during infrastructure maintenance events and for defining\nthe availability of a VM instance after a maintenance event that impacts the underlying hardware.\n",
      "properties": {
        "isLiveMigrationPreferred": {
          "description": "Whether to live migrate supported VM instances to a healthy physical VM host without\ndisrupting running instances during infrastructure maintenance events. If null, Oracle\nchooses the best option for migrating the VM during infrastructure maintenance events.\n",
          "type": "boolean"
        },
        "recoveryAction": {
          "default": "RESTORE_INSTANCE",
          "description": "The lifecycle state for an instance when it is recovered after infrastructure maintenance.\n* `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event.\nIf the instance was running, it is automatically rebooted. This is the default action when a value is not set.\n* `STOP_INSTANCE` - The instance is recovered in the stopped state.\n",
          "enum": [
            "RESTORE_INSTANCE",
            "STOP_INSTANCE"
          ],
          "type": "string"
        }
      }
    },
    "LaunchInstanceLicensingConfig": {
      "description": "The license config requested for the instance.",
      "properties": {
        "licenseType": {
          "default": "OCI_PROVIDED",
          "description": "License Type for the OS license.\n* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).\n* `BRING_YOUR_OWN_LICENSE` - Bring your own license.\n",
          "enum": [
            "OCI_PROVIDED",
            "BRING_YOUR_OWN_LICENSE"
          ],
          "type": "string"
        },
        "type": {
          "description": "Operating System type of the Configuration.",
          "enum": [
            "WINDOWS"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "LaunchInstancePlatformConfig": {
      "description": "The platform configuration requested for the instance.\n\nIf you provide the parameter, the instance is created with the platform configuration that you specify.\nFor any values that you omit, the instance uses the default configuration values for the `shape` that you\nspecify. If you don't provide the parameter, the default values for the `shape` are used.\n\nEach shape only supports certain configurable values. If the values that you provide are not valid for the\nspecified `shape`, an error is returned.\n\nFor more information about shielded instances, see\n[Shielded Instances](/iaas/Content/Compute/References/shielded-instances.htm).\n\nFor more information about BIOS settings for bare metal instances, see\n[BIOS Settings for Bare Metal Instances](/iaas/Content/Compute/References/bios-settings.htm).\n",
      "properties": {
        "isMeasuredBootEnabled": {
          "default": false,
          "description": "Whether the Measured Boot feature is enabled on the instance.\n",
          "type": "boolean"
        },
        "isMemoryEncryptionEnabled": {
          "default": false,
          "description": "Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.\n",
          "type": "boolean"
        },
        "isSecureBootEnabled": {
          "default": false,
          "description": "Whether Secure Boot is enabled on the instance.\n",
          "type": "boolean"
        },
        "isTrustedPlatformModuleEnabled": {
          "default": false,
          "description": "Whether the Trusted Platform Module (TPM) is enabled on the instance.\n",
          "type": "boolean"
        },
        "type": {
          "description": "The type of platform being configured.\n",
          "enum": [
            "AMD_MILAN_BM",
            "AMD_MILAN_BM_GPU",
            "AMD_ROME_BM",
            "AMD_ROME_BM_GPU",
            "GENERIC_BM",
            "INTEL_ICELAKE_BM",
            "INTEL_SKYLAKE_BM",
            "AMD_VM",
            "INTEL_VM"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "LaunchInstanceShapeConfigDetails": {
      "description": "The shape configuration requested for the instance.\n\nIf the parameter is provided, the instance is created with the resources that you specify. If some\nproperties are missing or the entire parameter is not provided, the instance is created\nwith the default configuration values for the `shape` that you specify.\n\nEach shape only supports certain configurable values. If the values that you provide are not valid for the\nspecified `shape`, an error is returned.\n",
      "properties": {
        "baselineOcpuUtilization": {
          "description": "The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a\nnon-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.\n\nThe following values are supported:\n- `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.\n- `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.\n- `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance.\n",
          "enum": [
            "BASELINE_1_8",
            "BASELINE_1_2",
            "BASELINE_1_1"
          ],
          "type": "string"
        },
        "memoryInGBs": {
          "description": "The total amount of memory available to the instance, in gigabytes.\n",
          "format": "float",
          "minimum": 0.0,
          "type": "number"
        },
        "nvmes": {
          "description": "The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.\n",
          "format": "int32",
          "maximum": 7,
          "minimum": 1,
          "type": "integer"
        },
        "ocpus": {
          "description": "The total number of OCPUs available to the instance.\n",
          "format": "float",
          "minimum": 0.0,
          "type": "number"
        },
        "resourceManagement": {
          "description": "This field is reserved for internal use.\n",
          "enum": [
            "DYNAMIC",
            "STATIC"
          ],
          "type": "string"
        },
        "vcpus": {
          "description": "The total number of VCPUs available to the instance. This can be used instead of OCPUs,\nin which case the actual number of OCPUs will be calculated based on this value\nand the actual hardware. This must be a multiple of 2.\n",
          "format": "int32",
          "minimum": 0,
          "type": "integer"
        }
      }
    },
    "LaunchOptions": {
      "description": "Options for tuning the compatibility and performance of VM shapes. The values that you specify override any\ndefault values.\n",
      "properties": {
        "bootVolumeType": {
          "description": "Emulation type for the boot volume.\n* `ISCSI` - ISCSI attached block storage device.\n* `SCSI` - Emulated SCSI disk.\n* `IDE` - Emulated IDE disk.\n* `VFIO` - Direct attached Virtual Function storage. This is the default option for local data\nvolumes on platform images.\n* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block\nstorage volumes on platform images.\n",
          "enum": [
            "ISCSI",
            "SCSI",
            "IDE",
            "VFIO",
            "PARAVIRTUALIZED"
          ],
          "type": "string"
        },
        "firmware": {
          "description": "Firmware used to boot VM. Select the option that matches your operating system.\n* `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating\nsystems that boot using MBR style bootloaders.\n* `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the\ndefault for platform images.\n",
          "enum": [
            "BIOS",
            "UEFI_64"
          ],
          "type": "string"
        },
        "isConsistentVolumeNamingEnabled": {
          "description": "Whether to enable consistent volume naming feature. Defaults to false.",
          "type": "boolean"
        },
        "isPvEncryptionInTransitEnabled": {
          "description": "Deprecated. Instead use `isPvEncryptionInTransitEnabled` in\n[LaunchInstanceDetails](#/en/iaas/latest/datatypes/LaunchInstanceDetails).\n",
          "type": "boolean"
        },
        "networkType": {
          "description": "Emulation type for the physical network interface card (NIC).\n* `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.\n* `VFIO` - Direct attached Virtual Function network controller. This is the networking type\nwhen you launch an instance using hardware-assisted (SR-IOV) networking.\n* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.\n* `ACCELERATEDPV` - VM instances launch with accelerated paravirtualized networking type.\n",
          "enum": [
            "E1000",
            "VFIO",
            "PARAVIRTUALIZED",
            "ACCELERATEDPV"
          ],
          "type": "string"
        },
        "remoteDataVolumeType": {
          "description": "Emulation type for volume.\n* `ISCSI` - ISCSI attached block storage device.\n* `SCSI` - Emulated SCSI disk.\n* `IDE` - Emulated IDE disk.\n* `VFIO` - Direct attached Virtual Function storage. This is the default option for local data\nvolumes on platform images.\n* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block\nstorage volumes on platform images.\n",
          "enum": [
            "ISCSI",
            "SCSI",
            "IDE",
            "VFIO",
            "PARAVIRTUALIZED"
          ],
          "type": "string"
        }
      }
    },
    "PlacementConstraintDetails": {
      "description": "The details for providing placement constraints.\n",
      "properties": {
        "type": {
          "description": "The type for the placement constraints.\nUse `COMPUTE_BARE_METAL_HOST` when specifying the compute bare metal host OCID.\nUse `HOST_GROUP` when specifying the compute host group OCID.\nUse `COMPUTE_CLUSTER` when specifying compute cluster placement constraints.\n",
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    },
    "PreemptibleInstanceConfigDetails": {
      "description": "Configuration options for preemptible instances.\n",
      "properties": {
        "preemptionAction": {
          "$ref": "#/$defs/PreemptionAction"
        }
      },
      "required": [
        "preemptionAction"
      ],
      "type": "object"
    },
    "PreemptionAction": {
      "description": "The action to run when the preemptible instance is interrupted for eviction.\n",
      "properties": {
        "type": {
          "description": "The type of action to run when the instance is interrupted for eviction.",
          "enum": [
            "TERMINATE"
          ],
          "type": "string"
        }
      },
      "required": [
        "type"
      ]
    }
  }
}