public Task checkMigrate_Task(VirtualMachine vm, HostSystem host, ResourcePool pool, VirtualMachinePowerState state, String[] testType) throws NoActiveHostInCluster, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().checkMigrate_Task(getMOR(), vm.getMOR(), host==null?null : host.getMOR(), pool==null?null : pool.getMOR(), state, testType); return new Task(getServerConnection(), taskMor); }
public Task checkCompatibility_Task(VirtualMachine vm, HostSystem host, ResourcePool pool, String[] testType) throws NoActiveHostInCluster, InvalidState, RuntimeFault, RemoteException { ManagedObjectReference taskMor = getVimService().checkCompatibility_Task(getMOR(), vm==null?null:vm.getMOR(), host==null?null:host.getMOR(), pool==null?null:pool.getMOR(), testType); return new Task(getServerConnection(), taskMor); }
/** * Create an instance of {@link JAXBElement }{@code <}{@link NoActiveHostInCluster }{@code >}} * */ @XmlElementDecl(namespace = "urn:pbm", name = "NoActiveHostInClusterFault") public JAXBElement<NoActiveHostInCluster> createNoActiveHostInClusterFault(NoActiveHostInCluster value) { return new JAXBElement<NoActiveHostInCluster>(_NoActiveHostInClusterFault_QNAME, NoActiveHostInCluster.class, null, value); }