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

项目:vijava    文件:VirtualMachineDeviceManager.java   
/**
 * Remove the device. Make sure the VM is powered off before calling this method.
 * If destroyDeviceBacking is true, it deletes backings for example files in datastore. BE CAREFUL! 
 */
public Task removeDevice(VirtualDevice device, boolean destroyDeviceBacking) throws InvalidName, VmConfigFault, DuplicateName, TaskInProgress, FileFault, InvalidState, ConcurrentAccess, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
{
  ArrayList<VirtualDevice> deviceList = new ArrayList<VirtualDevice>();
  deviceList.add(device);
  return removeDevices(deviceList, destroyDeviceBacking); 
}
项目:photon-model    文件:ObjectFactory.java   
/**
 * Create an instance of {@link JAXBElement }{@code <}{@link ConcurrentAccess }{@code >}}
 * 
 */
@XmlElementDecl(namespace = "urn:pbm", name = "ConcurrentAccessFault")
public JAXBElement<ConcurrentAccess> createConcurrentAccessFault(ConcurrentAccess value) {
    return new JAXBElement<ConcurrentAccess>(_ConcurrentAccessFault_QNAME, ConcurrentAccess.class, null, value);
}
项目:vijava    文件:VirtualMachineDeviceManager.java   
/**
 * @param floppyImagePath - i.e. "[storage1] myVM/myFloppy.flp" Note: there is a space after ].
 */
public Task addFloppyDriveFromISO(String floppyImagePath, boolean startConnected) throws InvalidName, VmConfigFault, DuplicateName, TaskInProgress, FileFault, InvalidState, ConcurrentAccess, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
{
  return addFloppyDrive(floppyImagePath, null, null, startConnected);
}
项目:vijava    文件:VirtualMachineDeviceManager.java   
/**
 * @param hostDevice - i.e. "/dev/fd0" 
 */
public Task addFloppyDriveFromHost(String hostDevice, boolean startConnected) throws InvalidName, VmConfigFault, DuplicateName, TaskInProgress, FileFault, InvalidState, ConcurrentAccess, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
{
  return addFloppyDrive(null, null, hostDevice, startConnected);
}
项目:vijava    文件:VirtualMachineDeviceManager.java   
public Task createFloppyDrive(String floppyImagePath, boolean startConnected) throws InvalidName, VmConfigFault, DuplicateName, TaskInProgress, FileFault, InvalidState, ConcurrentAccess, InvalidDatastore, InsufficientResourcesFault, RuntimeFault, RemoteException
{
  return addFloppyDrive(null, floppyImagePath, null, startConnected);
}
项目:vijava    文件:OvfManager.java   
public OvfCreateDescriptorResult createDescriptor(ManagedEntity obj, OvfCreateDescriptorParams cdp) throws TaskInProgress, VmConfigFault, ConcurrentAccess, FileFault, InvalidState, RuntimeFault, RemoteException
{
    return getVimService().createDescriptor(getMOR(), obj.getMOR(), cdp);
}
项目:vijava    文件:OvfManager.java   
public OvfCreateImportSpecResult createImportSpec(String ovfDescriptor, ResourcePool resourcePool, Datastore datastore, OvfCreateImportSpecParams cisp) throws TaskInProgress, VmConfigFault, ConcurrentAccess, FileFault, InvalidState, InvalidDatastore, RuntimeFault, RemoteException
{
    return getVimService().createImportSpec(getMOR(), ovfDescriptor, resourcePool.getMOR(), datastore.getMOR(), cisp);
}
项目:vijava    文件:OvfManager.java   
public OvfParseDescriptorResult parseDescriptor(String ovfDescriptor, OvfParseDescriptorParams pdp) throws TaskInProgress, VmConfigFault, ConcurrentAccess, FileFault, InvalidState, RuntimeFault, RemoteException
{
    return getVimService().parseDescriptor(getMOR(), ovfDescriptor, pdp);
}
项目:vijava    文件:OvfManager.java   
public OvfValidateHostResult validateHost(String ovfDescriptor, HostSystem host, OvfValidateHostParams vhp) throws TaskInProgress, ConcurrentAccess, FileFault, InvalidState, RuntimeFault, RemoteException
{
    return getVimService().validateHost(getMOR(), ovfDescriptor, host.getMOR(), vhp);
}
项目:vijava    文件:DistributedVirtualPortgroup.java   
public Task reconfigureDVPortgroup_Task(DVPortgroupConfigSpec spec) throws DvsFault, ConcurrentAccess, DuplicateName, InvalidName, RuntimeFault, RemoteException
{
    ManagedObjectReference mor = getVimService().reconfigureDVPortgroup_Task(getMOR(), spec);
    return new Task(getServerConnection(), mor);
}
项目:vijava    文件:DistributedVirtualSwitch.java   
public Task moveDVPort_Task(String[] portKey, String destinationPortgroupKey) throws DvsFault, NotFound, ConcurrentAccess, RuntimeFault, RemoteException
{
  ManagedObjectReference taskMor = getVimService().moveDVPort_Task(getMOR(), portKey, destinationPortgroupKey);
  return new Task(getServerConnection(), taskMor);
}
项目:vijava    文件:DistributedVirtualSwitch.java   
public Task reconfigureDvs_Task(DVSConfigSpec spec) throws DvsNotAuthorized, DvsFault, ConcurrentAccess, DuplicateName, InvalidState, InvalidName, NotFound, AlreadyExists, LimitExceeded, ResourceInUse, ResourceNotAvailable, RuntimeFault, RemoteException
{
    ManagedObjectReference taskMor = getVimService().reconfigureDvs_Task(getMOR(), spec);
    return new Task(getServerConnection(), taskMor);
}
项目:vijava    文件:DistributedVirtualSwitch.java   
public Task reconfigureDVPort_Task(DVPortConfigSpec[] port) throws DvsFault, NotFound, ResourceInUse, ConcurrentAccess, RuntimeFault, RemoteException
{
    ManagedObjectReference mor = getVimService().reconfigureDVPort_Task(getMOR(), port);
    return new Task(getServerConnection(), mor);
}
项目:vijava    文件:VirtualApp.java   
public Task unregisterVApp_Task() throws ConcurrentAccess, InvalidState, RuntimeFault, RemoteException
{
    ManagedObjectReference taskMor = getVimService().unregisterVApp_Task(getMOR());
    return new Task(getServerConnection(), taskMor);
}
项目:vijava    文件:VirtualApp.java   
/** @since SDK4.1 */
public void updateLinkedChildren(VirtualAppLinkInfo[] addChangeSet, ManagedObjectReference[] removeSet) throws ConcurrentAccess, RuntimeFault, RemoteException
{
  getVimService().updateLinkedChildren(getMOR(), addChangeSet, removeSet);
}
项目:vijava    文件:VirtualApp.java   
public void updateVAppConfig(VAppConfigSpec spec) throws TaskInProgress, VmConfigFault, ConcurrentAccess, FileFault, InvalidName, DuplicateName, InvalidState, InsufficientResourcesFault, InvalidDatastore, RuntimeFault, RemoteException
{
    getVimService().updateVAppConfig(getMOR(), spec);
}