-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions-function-structure.json
More file actions
56 lines (56 loc) · 1.4 KB
/
functions-function-structure.json
File metadata and controls
56 lines (56 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-structure/functions-function-structure.json",
"name": "Function",
"description": "A serverless function.",
"type": "object",
"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": "int32",
"example": 256
},
"timeoutInSeconds": {
"type": "int32",
"example": 30
},
"lifecycleState": {
"type": "string",
"enum": "['CREATING', 'ACTIVE', 'INACTIVE', 'UPDATING', 'DELETING', 'DELETED', 'FAILED']",
"example": "CREATING"
},
"invokeEndpoint": {
"type": "string",
"example": "example-value"
},
"timeCreated": {
"type": "datetime",
"example": "2026-04-18T10:30:00Z"
},
"config": {
"type": "object",
"example": {
"key1": "value1"
}
}
}
}