public class RemoveVirtualNic extends Object
This sample is used to remove a Virtual Nic To run this samples following parameters are used: portgroupname [required]: Name of the port group from which the nic is to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Parameters: Command Line:to remove a Host VirtualNic from a PortGroup run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup]> --host [hostname] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the host run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the datacenter run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --portgroupname [myportgroup] --host [name of the host]http://vijava.sf.net
| Constructor and Description |
|---|
RemoveVirtualNic() |
Copyright © 2011-2012. All Rights Reserved.