microsoft.insights/components/ProactiveDetectionConfigs: Properties.name is showing warning eventhough it's valid.
AllDwarf opened this issue · 0 comments
AllDwarf commented
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
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
- I have read the troubleshooting guide and looked for duplicates.