While working with the Azure-Native/ContainerRegistry/Registry resource, I wanted to set the "zoneRedundancy" property, but it is only available from API version "2021-09-01", so I wanted to use this API version.
In C# I would change namespace, but figuring out how to do this in Yaml required me to dig into the Pulumi source code and do some trial and error.
I finally figured out that this is the required format:
azure-native:containerregistry/v20210901:Registry
Steps to reproduce
n/a
Expected Behavior
In the Azure-Native version guide, I would expect there to be a tab for Yaml, like there is for TypeScript, Python, Go and C#.
Or maybe in the Pulumi YAML Reference, it should be mentioned under the description for the type property (current description is "Type is the Pulumi type token for this resource.")
Actual Behavior
n/a
Output of pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a š reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Thanks for bringing this up @BoSoeborgPetersen ; publishing docs for all versions of azure-native is on our backlog to increase resource discoverability.
What happened?
While working with the Azure-Native/ContainerRegistry/Registry resource, I wanted to set the "zoneRedundancy" property, but it is only available from API version "2021-09-01", so I wanted to use this API version.
In C# I would change namespace, but figuring out how to do this in Yaml required me to dig into the Pulumi source code and do some trial and error.
I finally figured out that this is the required format:
azure-native:containerregistry/v20210901:Registry
Steps to reproduce
n/a
Expected Behavior
In the Azure-Native version guide, I would expect there to be a tab for Yaml, like there is for TypeScript, Python, Go and C#. Or maybe in the Pulumi YAML Reference, it should be mentioned under the description for the type property (current description is "Type is the Pulumi type token for this resource.")
Actual Behavior
n/a
Output of
pulumi about
n/a
Additional context
No response
Contributing
Vote on this issue by adding a š reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).