[Microsoft.Network/networkManagers/networkGroups/staticMembers]: The property "location" is not allowed on objects of type "StaticMemberProperties". No other properties are allowed.
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Network/networkManagers/networkGroups/staticMembers
### Api Version
2024-03-01
### Issue Type
Inaccurate property type(s)
### Other Notes
_No response_
### Bicep Repro
```bicep
param name string
param networkManagerGroupName string
param networkManagerName string
param resourceId string
param location string
resource staticMembers 'Microsoft.Network/networkManagers/networkGroups/staticMembers@2024-03-01' = {
name: '${networkManagerName}/${networkManagerGroupName}/${name}'
properties: {
resourceId: resourceId
location: location
}
}
```
### Confirm
- [x] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Bicep repro for Microsoft.Network/networkManagers/networkGroups/staticMembers at API version 2024-03-01 and locate the corresponding type definition. Verify the allowed properties against the repro, then confirm that `location` is accepted alongside `resourceId`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100