Oracle Cloud Infrastructure · Schema
Function
A serverless function.
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| applicationId | string | |
| compartmentId | string | |
| displayName | string | |
| image | string | |
| memoryInMBs | integer | |
| timeoutInSeconds | integer | |
| lifecycleState | string | |
| invokeEndpoint | string | |
| timeCreated | string | |
| config | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Function",
"title": "Function",
"type": "object",
"description": "A serverless function.",
"properties": {
"id": {
"type": "string",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"applicationId": {
"type": "string",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"compartmentId": {
"type": "string",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"displayName": {
"type": "string",
"example": "my-function"
},
"image": {
"type": "string",
"example": "iad.ocir.io/my-namespace/my-app/my-function:0.0.1"
},
"memoryInMBs": {
"type": "integer",
"example": 256
},
"timeoutInSeconds": {
"type": "integer",
"example": 30
},
"lifecycleState": {
"type": "string",
"enum": [
"CREATING",
"ACTIVE",
"INACTIVE",
"UPDATING",
"DELETING",
"DELETED",
"FAILED"
],
"example": "CREATING"
},
"invokeEndpoint": {
"type": "string",
"example": "example-value"
},
"timeCreated": {
"type": "string",
"format": "date-time",
"example": "2026-04-18T10:30:00Z"
},
"config": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"example": {
"key1": "value1"
}
}
}
}