første xml update
[virt-orchestrator.git] / vFLOWER / content / Actions / com.vmware.library.vc.vm.spec / getCustomizationGlobalIPSettingsWithDomainAsString.action.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <dunes-script-module name="getCustomizationGlobalIPSettingsWithDomainAsString" result-type="Any" api-version="3.1.0" id="f6adc44f-0be3-44ca-abe6-dd06e84b3223" version="0.2.0" allowed-operations="fv">
3     <description>A collection of global IP settings for a virtual network adapter. In Linux, DNS server settings are global. The settings can either be statically set or supplied by a DHCP server.</description>
4
5     <param n="dnsServerList" t="Array/string">[Optional] List of DNS servers, for a virtual network adapter with a static IP address</param>
6
7     <param n="dnsSuffix" t="string">[Optional] List of name resolution suffixes for the virtual network adapter</param>
8
9     <script encoded="false">
10 var globalIPSettings = new VcCustomizationGlobalIPSettings();
11 globalIPSettings.dnsServerList = dnsServerList;
12 var dnsSuffixList = new Array();
13 dnsSuffixList.push(dnsSuffix);
14 globalIPSettings.dnsSuffixList = dnsSuffixList;
15 return globalIPSettings;
16     </script>
17 </dunes-script-module>