Azure / Azure/bicep-types-az

[Microsoft.Monitor/accounts]: publicNetworkAccess property is not readonly

Open
#2,137 1 comment 0 reactions 0 assignees View on GitHub
Monitor Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.Monitor/accounts

### Api Version

2023-04-03

### Issue Type

Property(s) inaccurately marked read-only/write-only

### Other Notes

The `publicNetworkAccess` property should be read/write.

### Bicep Repro

```bicep
resource azureMonitorWorkspace 'Microsoft.Monitor/accounts@2023-04-03' = {
name: name
location: location
tags: tags
properties: {
publicNetworkAccess: 'Disabled'
}
}
'''

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Microsoft.Monitor/accounts type definition for API version 2023-04-03 and inspect how publicNetworkAccess is marked. Reproduce the issue with the provided Bicep resource, then verify that the property is accepted as read/write when the type definition is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.