første xml update
[virt-orchestrator.git] / vFLOWER / content / Actions / com.vmware.library.vc.vm.spec.config.device.backing.device / getVirtualEthernetCardNetworkBackingInfo.action.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <dunes-script-module name="getVirtualEthernetCardNetworkBackingInfo" result-type="Any" api-version="3.1.0" id="fe1c822f-9003-47b9-a675-9075cf569fdd" version="0.2.0" allowed-operations="fv">
3     <description>The virtual Ethernet card backing class.</description>
4
5     <param n="deviceName" t="string">The name of the device on the host system.</param>
6
7     <param n="network" t="VC:Network">Reference to the network managed object to which this backing applies. This is not used during configuration.</param>
8
9     <script encoded="false">
10 if (deviceName == null) 
11         deviceName = network.name;
12         
13 var backing = new VcVirtualEthernetCardNetworkBackingInfo();
14 backing.deviceName = deviceName;
15 //backing.network = network.reference; Not used during configuration
16 return backing;
17     </script>
18 </dunes-script-module>