forked from scaleway/scaleway-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest-all-usage-function-function-create-usage.golden
33 lines (29 loc) · 2.34 KB
/
test-all-usage-function-function-create-usage.golden
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
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new function in the specified region for a specified Organization or Project.
USAGE:
scw function function create [arg=value ...]
ARGS:
[name=<generated>] Name of the function to create
[namespace-id] UUID of the namespace the function will be created in
[environment-variables.{key}] Environment variables of the function
[min-scale] Minumum number of instances to scale the function to
[max-scale] Maximum number of instances to scale the function to
[runtime] Runtime to use with the function (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 | go121 | node22 | python312 | php83 | go122 | rust179 | go123 | go124 | python313 | rust185 | php84)
[memory-limit] Memory limit of the function in MB
[timeout] Request processing time limit for the function
[handler] Handler to use with the function
[privacy] Privacy setting of the function (unknown_privacy | public | private)
[description] Description of the function
[secret-environment-variables.{index}.key]
[secret-environment-variables.{index}.value]
[http-option=enabled] Configure how HTTP and HTTPS requests are handled (unknown_http_option | enabled | redirected)
[sandbox] Execution environment of the function (unknown_sandbox | v1 | v2)
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
FLAGS:
-h, --help help for create
GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use