Skip to content

Create networkSecurityGroup destinationPortRanges doesn't match documentation #7625

Discussion options

You must be logged in to vote

So the issue is that you are creating several securityRules, where some require the singular property destinationPortRange and the other requires the plural destinationPortRanges? If the resource type does not support accepting both properties always, then I think the only way around is to use the union() function to conditionally include the relevant properties.

@brwilkinson have you come across this and happen to have an example somewhere?

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Answer selected by brwilkinson
Comment options

You must be logged in to vote
1 reply
@brwilkinson
Comment options

Comment options

You must be logged in to vote
2 replies
@brwilkinson
Comment options

@brwilkinson
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7575 on July 20, 2022 17:48.