resource-capabilities
resource-capabilities copied to clipboard
One property is missing.
Hi.
This page is missing one property and I cant find a way to give feedback about it so here it is.
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 "
@Seppohto - thanks for this feedback. I think I see the problem and will look into fixing the bug.