microsoft.insights/components/ProactiveDetectionConfigs: Properties.name is showing warning eventhough it's valid.
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
microsoft.insights/components/ProactiveDetectionConfigs
### Api Version
2018-05-01-preview
### Issue Type
Missing property(s)
### Other Notes

Property.name is marked as not valid one even though it's used in service itself and arm template.
Warning message:
`The property "name" is not allowed on objects of type "ApplicationInsightsComponentProactiveDetectionConfigurationProperties". No other properties are allowed. If this is an inaccuracy in the documentation, please report it to the Bicep Team.bicephttps://aka.ms/bicep-type-issues`
### Bicep Repro
```bicep
resource insights_slowpageloadtime 'Microsoft.Insights/components/ProactiveDetectionConfigs@2018-05-01-preview' = {
parent: insightsComponent
name: 'slowpageloadtime'
location: 'westus2'
properties: {
name: 'slowpageloadtime'
RuleDefinitions: {
Name: 'slowpageloadtime'
DisplayName: 'Slow page load time'
Description: 'Smart Detection rules notify you of performance anomaly issues.'
HelpUrl: 'https://docs.microsoft.com/en-us/azure/application-insights/app-insights-proactive-performance-diagnostics'
IsHidden: false
IsEnabledByDefault: true
IsInPreview: false
SupportsEmailNotifications: true
}
Enabled: true
SendEmailsToSubscriptionOwners: true
CustomEmails: []
}
}
```
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by locating the Azure type definition for microsoft.insights/components/ProactiveDetectionConfigs at API version 2018-05-01-preview, compare it with the Bicep repro, and verify that properties.name is accepted without the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100