Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fvdnabee/99f0a9a6b353f1247a77158cbbf0ee95 to your computer and use it in GitHub Desktop.
Save fvdnabee/99f0a9a6b353f1247a77158cbbf0ee95 to your computer and use it in GitHub Desktop.
AzureRM request payload for azurerm_windows_function_app create request
{
"identity": {
"type": "SystemAssigned, UserAssigned",
"userAssignedIdentities": {
"/subscriptions/yyy/resourceGroups/xxx/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-d-zzz-0-cdbfxkv": {}
}
},
"kind": "functionapp",
"location": "westeurope",
"properties": {
"clientCertEnabled": false,
"clientCertMode": "Optional",
"dailyMemoryTimeQuota": 0,
"enabled": true,
"httpsOnly": true,
"keyVaultReferenceIdentity": "/subscriptions/yyy/resourceGroups/xxx/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-d-zzz-0-cdbfxkv",
"serverFarmId": "/subscriptions/yyy/resourceGroups/xxx/providers/Microsoft.Web/serverfarms/myfunc",
"siteConfig": {
"alwaysOn": false,
"appSettings": [
{
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~4"
},
{
"name": "AzureWebJobsStorage",
"value": "DefaultEndpointsProtocol=https;AccountName=xxxx;AccountKey=yyy;EndpointSuffix=core.windows.net"
},
{
"name": "FUNCTIONS_WORKER_RUNTIME",
"value": "node"
},
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "14"
},
{
"name": "AzureWebJobsStorage",
"value": "@Microsoft.KeyVault(SecretUri=https://kv-d-zzz-0-fxaylqgg.vault.azure.net/secrets/azure-files-connection-string/796af21a29f94b528ac8bb36d418527e)"
},
{
"name": "WEBSITE_CONTENTSHARE",
"value": "func-d-zzz-0-cdbfx-4b03"
},
],
"ftpsState": "Disabled",
"loadBalancing": "LeastRequests",
"managedPipelineMode": "Integrated",
"minTlsVersion": "1.2",
"scmMinTlsVersion": "1.2",
"use32BitWorkerProcess": true,
"windowsFxVersion": "Node|14"
}
},
"tags": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment