[<VirtualHub>]: <description>
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Network/VirtualHubs
### Api Version
2024-01-01
### Issue Type
Property(s) inaccurately marked read-only/write-only
### Other Notes
provisioningState is saying that it is read only property but obviously is not and i have assigned it 'Succeeded' value still giving me warning.
### Bicep Repro
resource routeServer 'Microsoft.Network/virtualHubs@2024-01-01' = {
name: routeServerName
location: location
properties: {
//virtualNetwork: {
//id: resourceId('Microsoft.Network/virtualNetworks', virtualNetworkName)
//}
sku: 'standard'
provisioningState: 'Succeeded' // This is not a parameter, it's part of the resource status
}
tags: tags
}
### 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.Network/VirtualHubs type definition for API version 2024-01-01 and inspect how provisioningState is marked for read and write operations. Reproduce the warning with the Bicep example, then verify the corrected metadata against the relevant validation tests so assigning 'Succeeded' is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100