|
1 | 1 | <!-- DO NOT EDIT: this file is automatically generated using scw-doc-gen --> |
2 | 2 | # Documentation for `scw function` |
3 | | -Functions API. |
| 3 | +Serverless Functions API. |
4 | 4 |
|
5 | 5 | - [Cron management commands](#cron-management-commands) |
6 | 6 | - [Create a new cron](#create-a-new-cron) |
@@ -171,7 +171,7 @@ scw function deploy [arg=value ...] |
171 | 171 | |------|---|-------------| |
172 | 172 | | namespace-id | | Function Namespace ID to deploy to | |
173 | 173 | | name | Required | Name of the function to deploy, will be used in namespace's name if no ID is provided | |
174 | | -| runtime | Required<br />One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120` | | |
| 174 | +| runtime | Required<br />One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120`, `node20` | | |
175 | 175 | | zip-file | Required | Path of the zip file that contains your code | |
176 | 176 | | region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | |
177 | 177 |
|
@@ -289,7 +289,7 @@ scw function function create [arg=value ...] |
289 | 289 | | environment-variables.{key} | | Environment variables of the function | |
290 | 290 | | min-scale | | Minumum number of instances to scale the function to | |
291 | 291 | | max-scale | | Maximum number of instances to scale the function to | |
292 | | -| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120` | Runtime to use with the function | |
| 292 | +| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120`, `node20` | Runtime to use with the function | |
293 | 293 | | memory-limit | | Memory limit of the function in MB | |
294 | 294 | | timeout.seconds | | | |
295 | 295 | | timeout.nanos | | | |
@@ -468,7 +468,7 @@ scw function function update <function-id ...> [arg=value ...] |
468 | 468 | | environment-variables.{key} | | Environment variables of the function to update | |
469 | 469 | | min-scale | | Minumum number of instances to scale the function to | |
470 | 470 | | max-scale | | Maximum number of instances to scale the function to | |
471 | | -| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120` | Runtime to use with the function | |
| 471 | +| runtime | One of: `unknown_runtime`, `golang`, `python`, `python3`, `node8`, `node10`, `node14`, `node16`, `node17`, `python37`, `python38`, `python39`, `python310`, `go113`, `go117`, `go118`, `node18`, `rust165`, `go119`, `python311`, `php82`, `node19`, `go120`, `node20` | Runtime to use with the function | |
472 | 472 | | memory-limit | | Memory limit of the function in MB | |
473 | 473 | | timeout.seconds | | | |
474 | 474 | | timeout.nanos | | | |
|
0 commit comments