Oracle Cloud Infrastructure · JSON Structure

Functions Create Function Details Structure

CreateFunctionDetails schema from oracle-cloud-functions-openapi.yaml

Type: object Properties: 6 Required: 4
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

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

Properties

applicationId displayName image memoryInMBs timeoutInSeconds config

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/functions-create-function-details-structure.json",
  "name": "CreateFunctionDetails",
  "description": "CreateFunctionDetails schema from oracle-cloud-functions-openapi.yaml",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "displayName": {
      "type": "string",
      "example": "my-resource"
    },
    "image": {
      "type": "string",
      "example": "ocid1.image.oc1.iad.abcdefg123456"
    },
    "memoryInMBs": {
      "type": "int32",
      "example": 1
    },
    "timeoutInSeconds": {
      "type": "int32",
      "default": 30,
      "example": 30
    },
    "config": {
      "type": "object",
      "example": {
        "key1": "value1"
      }
    }
  },
  "required": [
    "applicationId",
    "displayName",
    "image",
    "memoryInMBs"
  ]
}