managementPolicies: Name has to be "default"
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Storage/storageAccounts/managementPolicies
### Api Version
2023-05-01
### Issue Type
Inaccurate/confusing description(s)
### Other Notes
It is not obvious from the [documentation](https://learn.microsoft.com/en-us/azure/templates/microsoft.storage/storageaccounts/managementpolicies?pivots=deployment-language-bicep#storageaccountsmanagementpolicies) that the resource name has to be default and could not be changed.
```bicep
resource symbolicname 'Microsoft.Storage/storageAccounts/managementPolicies@2023-05-01' = {
name: 'default'
parent: resourceSymbolicName
properties: {
}
}
```
### Bicep Repro
_No response_
### Confirm
- [x] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the linked Microsoft.Storage/storageAccounts/managementPolicies documentation for the 2023-05-01 resource type and compare it with the Bicep example in the issue. Clarify that the resource name must be "default" and verify the published documentation shows this constraint clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100