Azure / Azure/bicep-types-az

[Microsoft.Web/sites]: missing functionAppConfig

Open
#2,227 0 comments 1 reaction 0 assignees View on GitHub
inaccuracy
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.Web/sites

### Api Version

2023-01-01

### Issue Type

Missing property(s)

### Other Notes

I am getting a warning about missing types for functionAppConfig

### Bicep Repro

```bicep
resource functionApp 'Microsoft.Web/sites@2023-01-01' = {
name: '${workload}-${appEnv}-${appName}-func'
location: location
tags: union(tags, {
'hidden-link /app-insights-resource-id': applicationInsights.id
})
kind: 'functionapp,linux'
identity: {
type: 'SystemAssigned'
}
properties: {
serverFarmId: appServicePlan.id
httpsOnly: true
publicNetworkAccess: 'Enabled'
siteConfig: {
appSettings: [
{
name: 'AzureWebJobsStorage__accountName'
value: storageAccount.name
}
{
name: 'AZURE_FUNCTIONS_ENVIRONMENT'
value: appEnv
}
{
name: 'FUNCTIONS_EXTENSION_VERSION'
value: '~4'
}
{
name: 'APP_CONFIG_ENDPOINT'
value: appConfigEndpoint
}
{
name: 'APPLICATIONINSIGHTS_CONNECTION_STRING'
value: applicationInsights.properties.ConnectionString
}
]
cors: {
allowedOrigins: [
'https://portal.azure.com'
]
}
}
functionAppConfig: {
deployment: {
storage: {
type: 'blobContainer'
value: '${storageAccount.properties.primaryEndpoints.blob}/${blobContainerName}'
authentication: {
type: 'SystemAssignedIdentity'
}
}
}
scaleAndConcurrency: {
maximumInstanceCount: 40
instanceMemoryMB: 2048
}
runtime: {
name: 'dotnet-isolated'
version: '8.0'
}
}
}

resource scmPublishingPolicy 'basicPublishingCredentialsPolicies' = {
name: 'scm'
properties: {
allow: true
}
}

resource ftpPublishingPolicy 'basicPublishingCredentialsPolicies' = {
name: 'ftp'
properties: {
allow: false
}
}
}
```

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Microsoft.Web/sites type definition for API version 2023-01-01 and compare its properties with the Bicep repro, especially functionAppConfig and its nested deployment, scaleAndConcurrency, and runtime sections. Confirm the completed type coverage by checking that this repro no longer reports missing types.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.