Download OpenAPI specification:Download
Containers configured to be pre-allocated and started on demand - useful for batch processing and tasks with elastic demand. Managed by a scheduler service (this API) on a per-environment basis.
Reserves an instance of the target function Container. The scheduler will release the claim back into the pool if the Instance is not claimed within ten seconds.
Returns details about the claimed Instance.
General error response from the platform
{- "token": "string"
}
{- "data": {
- "instance_id": "651586fca6078e98982dbd90",
- "environment": {
- "id": "651586fca6078e98982dbd90",
- "network_subnet": "string",
- "subnet": "string",
- "ipv6": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}, - "legacy": {
- "host": 0,
- "subnet": 0,
- "ipv4": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}
}, - "mac_addr": "string",
- "vxlan_tag": 0
}, - "token": "string"
}
}
Spawns a previously claimed Instance.
Returns details about the spawned Instance.
General error response from the platform
{- "token": "string",
- "instance_id": "651586fca6078e98982dbd90",
- "runtime_variables": {
- "environment_variables": {
- "property1": "string",
- "property2": "string"
}
}
}
{- "data": {
- "instance_id": "651586fca6078e98982dbd90",
- "server_id": "651586fca6078e98982dbd90",
- "environment": {
- "id": "651586fca6078e98982dbd90",
- "network_subnet": "string",
- "subnet": "string",
- "ipv6": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}, - "legacy": {
- "host": 0,
- "subnet": 0,
- "ipv4": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}
}, - "mac_addr": "string",
- "vxlan_tag": 0
}, - "token": "string"
}
}
Releases a previously spawned Instance.
Returns details about the released Instance.
General error response from the platform
{- "token": "string",
- "instance_id": "651586fca6078e98982dbd90"
}
{- "data": {
- "instance_id": "651586fca6078e98982dbd90",
- "server_id": "651586fca6078e98982dbd90",
- "environment": {
- "id": "651586fca6078e98982dbd90",
- "network_subnet": "string",
- "subnet": "string",
- "ipv6": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}, - "legacy": {
- "host": 0,
- "subnet": 0,
- "ipv4": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}
}, - "mac_addr": "string",
- "vxlan_tag": 0
}, - "token": "string"
}
}
Retrieves instances of the function container that are currently running.
Returns a map of active instances by ID.
General error response from the platform
{- "data": {
- "property1": {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "container_id": "string",
- "location_id": "string",
- "environment": {
- "id": "651586fca6078e98982dbd90",
- "network_subnet": "string",
- "subnet": "string",
- "ipv6": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}, - "legacy": {
- "host": 0,
- "subnet": 0,
- "ipv4": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}
}, - "mac_addr": "string",
- "vxlan_tag": 0
}, - "stateful": {
- "id": "651586fca6078e98982dbd90",
- "base_hostname": "string"
}, - "function": {
- "seed": 0
}, - "provider": {
- "vendor": "string",
- "integration_id": "651586fca6078e98982dbd90",
- "location": "string"
}, - "server_id": "651586fca6078e98982dbd90",
- "ready_state": "active",
- "purge_time": "2021-01-30T08:30:00Z",
- "hostname": "string",
- "service": "discovery",
- "extension": {
- "identifier": "virtual-machine-v1",
- "id": "651586fca6078e98982dbd90"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "autoscale": {
- "min_ttl": "2021-01-30T08:30:00Z"
}, - "migration": {
- "to": {
- "instance_id": "string",
- "server_id": "string"
}, - "from": {
- "instance_id": "string",
- "server_id": "string"
}, - "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z",
- "key": "string",
- "copy_volumes": true
}, - "deployment": {
- "version": "v1.2.3-dev"
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}, - "property2": {
- "id": "651586fca6078e98982dbd90",
- "creator": {
- "id": "651586fca6078e98982dbd90",
- "type": "account"
}, - "hub_id": "651586fca6078e98982dbd90",
- "container_id": "string",
- "location_id": "string",
- "environment": {
- "id": "651586fca6078e98982dbd90",
- "network_subnet": "string",
- "subnet": "string",
- "ipv6": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}, - "legacy": {
- "host": 0,
- "subnet": 0,
- "ipv4": {
- "ip": "fd00::21:0:0:0",
- "cidr": "fd00::21:0:0:0/96"
}
}, - "mac_addr": "string",
- "vxlan_tag": 0
}, - "stateful": {
- "id": "651586fca6078e98982dbd90",
- "base_hostname": "string"
}, - "function": {
- "seed": 0
}, - "provider": {
- "vendor": "string",
- "integration_id": "651586fca6078e98982dbd90",
- "location": "string"
}, - "server_id": "651586fca6078e98982dbd90",
- "ready_state": "active",
- "purge_time": "2021-01-30T08:30:00Z",
- "hostname": "string",
- "service": "discovery",
- "extension": {
- "identifier": "virtual-machine-v1",
- "id": "651586fca6078e98982dbd90"
}, - "state": {
- "changed": "2021-01-30T08:30:00Z",
- "error": {
- "message": "string",
- "time": "2021-01-30T08:30:00Z"
}
}, - "autoscale": {
- "min_ttl": "2021-01-30T08:30:00Z"
}, - "migration": {
- "to": {
- "instance_id": "string",
- "server_id": "string"
}, - "from": {
- "instance_id": "string",
- "server_id": "string"
}, - "started": "2021-01-30T08:30:00Z",
- "completed": "2021-01-30T08:30:00Z",
- "key": "string",
- "copy_volumes": true
}, - "deployment": {
- "version": "v1.2.3-dev"
}, - "events": {
- "created": "2021-01-30T08:30:00Z",
- "updated": "2021-01-30T08:30:00Z",
- "deleted": "2021-01-30T08:30:00Z"
}
}
}
}