> +                    .description("default-allow-port-" + ports[i])
> +                    .protocol(NetworkSecurityRuleProperties.Protocol.All)
> +                    .access(NetworkSecurityRuleProperties.Access.Allow)
> +                    .sourcePortRange("*")
> +                    .destinationPortRange("*")
> +                    .sourceAddressPrefix("*")
> +                    .destinationAddressPrefix("*")
> +                    .priority(1234 + i)
> +                    
> .direction(NetworkSecurityRuleProperties.Direction.Inbound)
> +                    .build();
> +
> +            NetworkSecurityRule networkSecurityRule = 
> NetworkSecurityRule.create(
> +                    "default-allow-port-" + ports[i],
> +                    null,
> +                    null,
> +                    ruleProperties);

Good question. I don't know why, but the fix should be straightforward 
.destinationPortRange(Integer.toString(ports[i]))

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/291/files/8a39037237f5cccc7d100bc58a9a82bdb89924b1#r68012349

Reply via email to