containerApps: properties.runningStatus is missing
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.App/containerApps
### Api Version
2024-03-01
### Issue Type
Missing property(s)
### Other Notes
properties.runningStatus is missing
runningStatus is flagged as not allowed, but a what-if command says it is fine.
`Warning BCP037: The property "runningStatus" is not allowed on objects of type "ContainerAppProperties". Permissible properties include "managedEnvironmentId".`
This is needed for container apps that should be deployed in a stopped mode so a logic app can start and stop them.
### Bicep Repro
```bicep
resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
name: appName
location: location
properties: {
...
runningStatus: 'Stopped'
}
}
```
### Confirm
- [x] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Microsoft.App/containerApps type definition for API version 2024-03-01 and compare it with the Bicep repro in the issue. Confirm that adding properties.runningStatus with value 'Stopped' is accepted and that the repro no longer emits BCP037.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100