-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Insights/components - retentionInDays incorrectly marked readonly
#14801
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azmonapplicationinsights. Issue DetailsOriginally reported under Azure/bicep#3212. On testing, the service actually allows this value to be modified via a PUT. See Lines 552 to 556 in b5f8384
This may also affect other apiVersions.
|
This is blocking the azurerm terraform provider adoption of the workspace model with application insights |
@zakimaksyutov @igorse would you be able to take a look at this issue or route to correct person? Thanks! |
Fixed by #15247 |
Hello, Thank you for the fix. For testing purposes, please keep in mind that as per https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-retention-archive?tabs=portal-1%2Cportal-2 , a change in the RetentionInDays value can only be tested after 30 days time after the change as "Azure Monitor waits 30 days before removing the data, so you can revert the change and prevent data loss in the event of an error in configuration." |
Originally reported under Azure/bicep#3212. On testing, the service actually allows this value to be modified via a PUT.
See
azure-rest-api-specs/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-02-02-preview/components_API.json
Lines 552 to 556 in b5f8384
This may also affect other apiVersions.
The text was updated successfully, but these errors were encountered: