-
Notifications
You must be signed in to change notification settings - Fork 41
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
Not updated example of the C# code for Azure API Management #3113
Comments
Hi @paf-dev, the The reason the code example doesn't explicitly instantiate it is that |
I also thought about implicit conversion, but
|
@paf-dev did you solve this? Getting the same issue. Do you really mean this |
@TheRubble Here is what I used in my code to make it work
Probably not the best, but at least it worked and I was not blocked by the service that actually takes my company's money for that |
["https"] this will work then :-) |
Since there seems to be a working solution, I'll close this issue, but please feel free to re-open if necessary. |
What happened?
There is documentation about the class that is responsible for Azure API Management.
The link: https://www.pulumi.com/registry/packages/azure-native/api-docs/apimanagement/api/
The C# example has initialization of the Protocols property like that
The problem is that Protocols has type of
List<Union<string, Pulumi.AzureNative.ApiManagement.Protocol>>
Also, I can't find any documentation about the usage of the Union type.
Example
No
Output of
pulumi about
No
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).
The text was updated successfully, but these errors were encountered: