-
Notifications
You must be signed in to change notification settings - Fork 745
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
Any type for user defined types #13399
Comments
Tagging as "intermediate language" because there's currently no way to represent |
any is flagged as invalid type if you add it to parameter |
@jefedeltodos You could try the experimental resource-derived types feature. This would require a {
"experimentalFeaturesEnabled": {
"resourceDerivedTypes": true
}
} With that in place, you could define your parameter as the following: param operationTemplateParameters resource<'Microsoft.ApiManagement/service/apis/operations@2022-08-01'>.properties.templateParameters |
We are also running into this, not sure how to implement user-defined types for resources such as an Azure Policy assignment that has properties that can accept arbitrary types. Having the "any" type available would make this scenario a lot easier to deal with. |
Running into this issue as well, policy assignments are the most egregious ones. |
Another big example of any() usage in API https://learn.microsoft.com/en-us/azure/templates/microsoft.datafactory/2018-06-01/factories/datasets?pivots=deployment-language-bicep |
Is your feature request related to a problem? Please describe.
This API seems to have type of any. Should such type be available in user defined types?
Describe the solution you'd like
Should such type be available in user defined types?
The text was updated successfully, but these errors were encountered: