Java 类com.vmware.vim25.NoActiveHostInCluster 实例源码

项目:vijava    文件:VirtualMachineProvisioningChecker.java   
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);
}
项目:vijava    文件:VirtualMachineCompatibilityChecker.java   
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);
}
项目:photon-model    文件:ObjectFactory.java   
/**
 * 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);
}