mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 00:49:26 -05:00
13f973f61e
Add code of an azure function that is a close copy of the existing cloud function on google. The function spawns a CVM and initializes it as a GitHub runner. The tag is 'azure-cvm'.
21 lines
315 B
JSON
21 lines
315 B
JSON
{
|
|
"scriptFile": "__init__.py",
|
|
"bindings": [
|
|
{
|
|
"authLevel": "function",
|
|
"type": "httpTrigger",
|
|
"direction": "in",
|
|
"name": "req",
|
|
"methods": [
|
|
"get",
|
|
"post"
|
|
]
|
|
},
|
|
{
|
|
"type": "http",
|
|
"direction": "out",
|
|
"name": "$return"
|
|
}
|
|
]
|
|
}
|