private Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.NetworkConfigurationSet CreateNetworkConfigurationSet() { var netConfig = new Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.NetworkConfigurationSet {InputEndpoints = new Collection<InputEndpoint>()}; if (SubnetNames != null) { netConfig.SubnetNames = new Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.SubnetNamesCollection(); foreach (var subnet in SubnetNames) { netConfig.SubnetNames.Add(subnet); } } return netConfig; }
private Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.NetworkConfigurationSet CreateNetworkConfigurationSet() { var netConfig = new Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.NetworkConfigurationSet {InputEndpoints = new Collection<InputEndpoint>()}; if (SubnetNames != null) { netConfig.SubnetNames = new Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMModel.SubnetNamesCollection(); foreach (var subnet in SubnetNames) { netConfig.SubnetNames.Add(subnet); } } return netConfig; }