Azure / Azure/azure-quickstart-templates
The documentation is missing a property about environment storage
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
Hi.
This page is missing one property and I cant find a way to give feedback about it so here it is. This place was linked from a page about environments and I hope this reaches the right group that can fix it. Delete this its in the wrong place.
https://learn.microsoft.com/en-us/azure/templates/microsoft.app/2022-03-01/managedenvironments/storages?pivots=deployment-language-bicep
It's missing the information about property called accessMode.
So in the Resource format it should be:
resource symbolicname 'Microsoft.App/managedEnvironments/storages@2022-03-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
azureFile: {
accountKey: 'string'
accountName: 'string'
shareName: 'string'
accessMode: 'string'
}
}
}
Now it's like this:
resource symbolicname 'Microsoft.App/managedEnvironments/storages@2022-03-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
azureFile: {
accountKey: 'string'
accountName: 'string'
shareName: 'string'
}
}
}
And without the property I get an error about it. Something like this:
""ManagedEnvironmentStorageAzureFilePropertyInvalidRequest\",\r\n \"message\": \"Invalid request body for managed environment storage 'rmsdevfileshare2'. Must contain 'AccountName', 'AccountKey', 'ShareName' and 'AccessMode' when setting Azure File Share Storage.\"\r\n}"\r\n "
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked Microsoft.App managedenvironments/storages documentation page and compare its Bicep resource format with the reported Azure error. Update the Azure File Share example to include the accessMode property, then verify that the documented required properties match the resource format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100