Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One property is missing. #9

Open
Seppohto opened this issue Sep 28, 2022 · 1 comment
Open

One property is missing. #9

Seppohto opened this issue Sep 28, 2022 · 1 comment

Comments

@Seppohto
Copy link

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 "

@tfitzmac
Copy link
Owner

@Seppohto - thanks for this feedback. I think I see the problem and will look into fixing the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants