Oracle · Schema
CreateContainerInstanceDetails
Information to create a container instance.
OracleCloudDatabaseEnterpriseInfrastructureSoftware-as-a-ServiceFortune 100
Properties
| Name | Type | Description |
|---|---|---|
| availabilityDomain | string | The availability domain where the container instance runs. |
| compartmentId | string | The compartment OCID. |
| containerRestartPolicy | string | Container restart policy |
| containers | array | The containers to create on this container instance. |
| definedTags | object | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`. |
| displayName | string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If you don't provide a name, a name is generated automatically. |
| dnsConfig | object | |
| faultDomain | string | The fault domain where the container instance runs. |
| freeformTags | object | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` |
| gracefulShutdownTimeoutInSeconds | integer | The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the process |
| imagePullSecrets | array | The image pulls secrets so you can access private registry to pull container images. |
| securityContext | object | |
| shape | string | The shape of the container instance. The shape determines the resources available to the container instance. |
| shapeConfig | object | |
| vnics | array | The networks available to containers on this container instance. |
| volumes | array | A volume is a directory with data that is accessible across multiple containers in a container instance. You can attach up to 32 volumes to single container instance. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/oracle/json-schema/oracle-create-container-instance-details-schema.json",
"title": "CreateContainerInstanceDetails",
"description": "Information to create a container instance.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/oracle-containerinstance-api-openapi.yml#/components/schemas/CreateContainerInstanceDetails",
"properties": {
"availabilityDomain": {
"description": "The availability domain where the container instance runs.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"compartmentId": {
"description": "The compartment OCID.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"containerRestartPolicy": {
"default": "ALWAYS",
"description": "Container restart policy",
"type": "string",
"x-obmcs-enumref": "#/definitions/ContainerInstance/containerRestartPolicy"
},
"containers": {
"description": "The containers to create on this container instance.",
"items": {
"$ref": "#/$defs/CreateContainerDetails"
},
"maxItems": 60,
"minItems": 1,
"type": "array"
},
"definedTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`.\n",
"type": "object"
},
"description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`.\n",
"type": "object"
},
"displayName": {
"description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If you don't provide a name, a name is generated automatically.\n",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"dnsConfig": {
"$ref": "#/$defs/CreateContainerDnsConfigDetails"
},
"faultDomain": {
"description": "The fault domain where the container instance runs.\n",
"maxLength": 255,
"minLength": 1,
"type": "string",
"x-default-description": "If you do not specify the fault domain, the system selects one for you."
},
"freeformTags": {
"additionalProperties": {
"type": "string"
},
"description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"gracefulShutdownTimeoutInSeconds": {
"default": 0,
"description": "The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.",
"format": "int64",
"maximum": 300,
"minimum": 0,
"type": "integer"
},
"imagePullSecrets": {
"default": null,
"description": "The image pulls secrets so you can access private registry to pull container images.",
"items": {
"$ref": "#/$defs/CreateImagePullSecretDetails"
},
"type": "array"
},
"securityContext": {
"$ref": "#/$defs/CreateContainerInstanceSecurityContextDetails"
},
"shape": {
"description": "The shape of the container instance. The shape determines the resources available to the container instance.",
"type": "string"
},
"shapeConfig": {
"$ref": "#/$defs/CreateContainerInstanceShapeConfigDetails"
},
"vnics": {
"description": "The networks available to containers on this container instance.",
"items": {
"$ref": "#/$defs/CreateContainerVnicDetails"
},
"maxItems": 1,
"minItems": 1,
"type": "array"
},
"volumes": {
"default": null,
"description": "A volume is a directory with data that is accessible across multiple containers in a\ncontainer instance.\n\nYou can attach up to 32 volumes to single container instance.\n",
"items": {
"$ref": "#/$defs/CreateContainerVolumeDetails"
},
"maxItems": 32,
"type": "array"
}
},
"required": [
"compartmentId",
"availabilityDomain",
"shape",
"shapeConfig",
"containers",
"vnics"
],
"type": "object",
"$defs": {
"CreateContainerDetails": {
"description": "Information to create a new container within a container instance.\n\nThe container created by this call contains both the tags specified\nin this object and any tags specified in the parent container instance.\n\nThe container is created in the same compartment, availability domain,\nand fault domain as its container instance.\n",
"properties": {
"arguments": {
"default": null,
"description": "A list of string arguments for a container's ENTRYPOINT process.\n\nMany containers use an ENTRYPOINT process pointing to a shell\n(/bin/bash). For those containers, this argument list\nspecifies the main command in the container process.\n\nThe total size of all arguments combined must be 64 KB or smaller.\n",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"default": null,
"description": "An optional command that overrides the ENTRYPOINT process.\nIf you do not provide a value, the existing ENTRYPOINT process defined in the image is used.\n",
"items": {
"type": "string"
},
"type": "array"
},
"definedTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`.\n",
"type": "object"
},
"description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`.\n",
"type": "object"
},
"displayName": {
"description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\nIf you don't provide a name, a name is generated automatically.\n",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"environmentVariables": {
"additionalProperties": {
"type": "string"
},
"default": null,
"description": "A map of additional environment variables to set in the environment of the container's\nENTRYPOINT process. These variables are in addition to any variables already defined\nin the container's image.\n\nThe total size of all environment variables combined, name and values, must be 64 KB or smaller.\n",
"type": "object"
},
"freeformTags": {
"additionalProperties": {
"type": "string"
},
"description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"healthChecks": {
"description": "list of container health checks to check container status and take appropriate action if container status is failed.\nThere are two types of health checks that we currently support HTTP and TCP.\n",
"items": {
"$ref": "#/$defs/CreateContainerHealthCheckDetails"
},
"type": "array"
},
"imageUrl": {
"description": "A URL identifying the image that the container runs in, such as docker.io/library/busybox:latest. If you do not provide a tag, the tag will default to latest.\n\nIf no registry is provided, will default the registry to public docker hub `docker.io/library`.\n\nThe registry used for container image must be reachable over the Container Instance's VNIC.\n",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"isResourcePrincipalDisabled": {
"default": false,
"description": "Determines if the container will have access to the container instance resource principal.\n\nThis method utilizes resource principal version 2.2. For information on how to use the exposed resource principal elements, see\nhttps://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_authentication_methods.htm#sdk_authentication_methods_resource_principal.\n",
"type": "boolean"
},
"resourceConfig": {
"$ref": "#/$defs/CreateContainerResourceConfigDetails"
},
"securityContext": {
"$ref": "#/$defs/CreateSecurityContextDetails"
},
"volumeMounts": {
"default": null,
"description": "List of the volume mounts.\n",
"items": {
"$ref": "#/$defs/CreateVolumeMountDetails"
},
"type": "array"
},
"workingDirectory": {
"default": null,
"description": "The working directory within the container's filesystem for\nthe container process. If not specified, the default\nworking directory from the image is used.\n",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"imageUrl"
],
"type": "object"
},
"CreateContainerDnsConfigDetails": {
"description": "Allow customers to define DNS settings for containers. If this is not provided, the containers use\nthe default DNS settings of the subnet.\n",
"properties": {
"nameservers": {
"description": "IP address of a name server that the resolver should query, either an IPv4 address\n(in dot notation), or an IPv6 address in colon (and possibly dot) notation. If null, uses\nnameservers from subnet dhcpDnsOptions.\n",
"items": {
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"maxItems": 3,
"type": "array",
"uniqueItems": true,
"x-default-description": "null"
},
"options": {
"description": "Options allows certain internal resolver variables to be modified. Options are a list of objects in\nhttps://man7.org/linux/man-pages/man5/resolv.conf.5.html. Examples: [\"ndots:n\", \"edns0\"].\n",
"items": {
"maxLength": 25,
"minLength": 1,
"type": "string"
},
"maxItems": 16,
"type": "array",
"uniqueItems": true,
"x-default-description": "null"
},
"searches": {
"description": "Search list for host-name lookup. If null, we will use searches from subnet dhcpDnsOptios.",
"items": {
"maxLength": 253,
"minLength": 1,
"type": "string"
},
"maxItems": 6,
"type": "array",
"uniqueItems": true,
"x-default-description": "null"
}
},
"type": "object"
},
"CreateContainerHealthCheckDetails": {
"description": "Container Health Check is used to check and report the status of a container.\n",
"properties": {
"failureAction": {
"default": "KILL",
"description": "The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default\naction is KILL. If failure action is KILL, the container will be subject to the container restart policy.\n",
"enum": [
"KILL",
"NONE"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/ContainerHealthCheckFailureAction"
},
"failureThreshold": {
"default": 3,
"description": "Number of consecutive failures at which we consider the check failed.",
"minimum": 1,
"type": "integer"
},
"healthCheckType": {
"description": "Container health check type.",
"enum": [
"HTTP",
"TCP"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/ContainerHealthCheckType"
},
"initialDelayInSeconds": {
"default": 0,
"description": "The initial delay in seconds before start checking container health status.",
"minimum": 0,
"type": "integer"
},
"intervalInSeconds": {
"default": 10,
"description": "Number of seconds between two consecutive runs for checking container health.",
"minimum": 1,
"type": "integer"
},
"name": {
"description": "Health check name.",
"maxLength": 255,
"minLength": 1,
"type": "string",
"x-default-description": "A default value will be generated from our backend code"
},
"successThreshold": {
"default": 1,
"description": "Number of consecutive successes at which we consider the check succeeded again after it was in failure state.",
"minimum": 1,
"type": "integer"
},
"timeoutInSeconds": {
"default": 1,
"description": "Length of waiting time in seconds before marking health check failed.",
"minimum": 1,
"type": "integer"
}
},
"required": [
"healthCheckType"
]
},
"CreateContainerInstanceSecurityContextDetails": {
"description": "Security context for all containers in a container instance.",
"properties": {
"securityContextType": {
"default": "LINUX",
"description": "The type of security context",
"type": "string",
"x-obmcs-enumref": "#/definitions/ContainerInstanceSecurityContext/securityContextType"
}
}
},
"CreateContainerInstanceShapeConfigDetails": {
"description": "The size and amount of resources available to the container instance.\n",
"properties": {
"memoryInGBs": {
"description": "The total amount of memory available to the container instance (GB).\n",
"format": "float",
"minimum": 0.0,
"type": "number",
"x-default-description": "A default value is chosen based on the number of OCPUs selected."
},
"ocpus": {
"description": "The total number of OCPUs available to the container instance.\n",
"format": "float",
"minimum": 0.0,
"type": "number"
}
},
"required": [
"ocpus"
]
},
"CreateContainerResourceConfigDetails": {
"description": "The size and amount of resources available to the container.\n",
"properties": {
"memoryLimitInGBs": {
"default": null,
"description": "The maximum amount of memory that can be consumed by the container's\nprocess.\n\nIf you do not set a value, then the process\nmay use all available memory on the instance.\n",
"format": "float",
"minimum": 0.0,
"type": "number"
},
"vcpusLimit": {
"default": null,
"description": "The maximum amount of CPUs that can be consumed by the container's process.\n\nIf you do not set a value, then the process\ncan use all available CPU resources on the instance.\n\nCPU usage is defined in terms of logical CPUs. This means that the maximum possible value on\nan E3 ContainerInstance with 1 OCPU is 2.0.\n\nA container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance.\nValues can be fractional. A value of \"1.5\" means that the container\ncan consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity.\n",
"format": "float",
"minimum": 0.0,
"type": "number"
}
}
},
"CreateContainerVnicDetails": {
"description": "Information to create a virtual network interface card (VNIC) which gives\nthe containers on this container instance access to a virtual client network (VCN).\n\nYou use this object when creating the primary VNIC during container instance launch or when creating a secondary VNIC.\nThis VNIC is created in the same compartment as the specified subnet on\nbehalf of the customer.\n\nThe VNIC created by this call contains both the tags specified\nin this object as well as any tags specified in the parent container instance.\n",
"properties": {
"definedTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`.\n",
"type": "object"
},
"description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`.\n",
"type": "object"
},
"displayName": {
"description": "A user-friendly name for the VNIC. Does not have to be unique.\nAvoid entering confidential information.\n",
"type": "string"
},
"freeformTags": {
"additionalProperties": {
"type": "string"
},
"description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"hostnameLabel": {
"description": "The hostname for the VNIC's primary private IP. Used for DNS.\n",
"type": "string",
"x-default-description": "A value is set with the format `<vnicDisplayName>-<randomNumber>`."
},
"isPublicIpAssigned": {
"description": "Whether the VNIC should be assigned a public IP address.\n",
"type": "boolean",
"x-default-description": "True if the subnet is public, false if the subnet is private."
},
"nsgIds": {
"default": null,
"description": "A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.\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.\n",
"type": "string",
"x-default-description": "A available IP address from the subnet will be automatically selected."
},
"skipSourceDestCheck": {
"default": false,
"description": "Whether the source/destination check is disabled on the VNIC.\n",
"type": "boolean"
},
"subnetId": {
"description": "The OCID of the subnet to create the VNIC in.\n",
"maxLength": 255,
"minLength": 1,
"type": "string"
}
},
"required": [
"subnetId"
],
"type": "object"
},
"CreateContainerVolumeDetails": {
"description": "A volume represents a directory with data that is accessible across multiple containers in a\ncontainer instance.\n",
"properties": {
"name": {
"description": "The name of the volume. This must be unique within a single container instance.\n",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"volumeType": {
"default": null,
"description": "The type of volume.",
"enum": [
"EMPTYDIR",
"CONFIGFILE",
"OCI_FSS_FILE_SYSTEM"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/ContainerVolumeType"
}
},
"required": [
"name",
"volumeType"
]
},
"CreateImagePullSecretDetails": {
"description": "The image pull secrets for accessing private registry to pull images for containers\n",
"properties": {
"registryEndpoint": {
"description": "The registry endpoint of the container image.",
"type": "string"
},
"secretType": {
"description": "The type of ImagePullSecret.",
"enum": [
"BASIC",
"VAULT"
],
"type": "string"
}
},
"required": [
"secretType",
"registryEndpoint"
],
"type": "object"
},
"CreateSecurityContextDetails": {
"description": "Security context for container.",
"properties": {
"securityContextType": {
"default": "LINUX",
"description": "The type of security context",
"type": "string",
"x-obmcs-enumref": "#/definitions/SecurityContext/securityContextType"
}
}
},
"CreateVolumeMountDetails": {
"description": "Defines the mapping from volume to a mount path in a container.\n",
"properties": {
"isReadOnly": {
"default": false,
"description": "Whether the volume was mounted in read-only mode. By default, the volume is not read-only.",
"type": "boolean"
},
"mountPath": {
"description": "The volume access path.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"partition": {
"default": 1,
"description": "If there is more than one partition in the volume, reference this number of partitions.\nHere is an example:\nNumber Start End Size File system Name Flags\n1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp\n2 106MB 1180MB 1074MB xfs\n3 1180MB 50.0GB 48.8GB lvm\n",
"format": "int32",
"maximum": 128,
"minimum": 1,
"type": "integer"
},
"subPath": {
"default": null,
"description": "A subpath inside the referenced volume.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"volumeName": {
"description": "The name of the volume. Avoid entering confidential information.",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"mountPath",
"volumeName"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/oracle-create-container-instance-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.