Merge pull request #519 from lander2k2/public_ips

set network_config.public_ips attribute
This commit is contained in:
Brian Coca 2015-02-16 19:02:18 -05:00
commit ed8ded7127

View file

@ -294,6 +294,7 @@ def create_virtual_machine(module, azure):
network_config = ConfigurationSetInputEndpoints()
network_config.configuration_set_type = 'NetworkConfiguration'
network_config.subnet_names = []
network_config.public_ips = None
for port in endpoints:
network_config.input_endpoints.append(ConfigurationSetInputEndpoint(name='TCP-%s' % port,
protocol='TCP',