Extend provisioning code for Aspire.Hosting.Azure.ApplicationInsights
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
I try to set the daily quota on an Application Insights instance but the required Bicep code is currently not generated .
### Describe the solution you'd like
Please add a 'Microsoft.Insights/components/pricingPlans@...' resource to the existing Aspire resource and make the properties available by an extension method WithPricingPlan(InsightsPricingPlanProperties properties).
One of these properties is "Cap" that takes the dailyQuota in GB.
### Additional context
The daily volume cap must be set on Log Analytics Workspace and Application Insights separately to prevent unforeseen costs on these Azure resources.
Contributor guide
Assessment
This issue has not been assessed yet.