本文整理汇总了Java中com.vmware.vim25.InsufficientResourcesFault类的典型用法代码示例。如果您正苦于以下问题:Java InsufficientResourcesFault类的具体用法?Java InsufficientResourcesFault怎么用?Java InsufficientResourcesFault使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
InsufficientResourcesFault类属于com.vmware.vim25包,在下文中一共展示了InsufficientResourcesFault类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: removeDevice
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
/**
* 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);
}
示例2: createInsufficientResourcesFaultFault
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
/**
* Create an instance of {@link JAXBElement }{@code <}{@link InsufficientResourcesFault }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:pbm", name = "InsufficientResourcesFaultFault")
public JAXBElement<InsufficientResourcesFault> createInsufficientResourcesFaultFault(InsufficientResourcesFault value) {
return new JAXBElement<InsufficientResourcesFault>(_InsufficientResourcesFaultFault_QNAME, InsufficientResourcesFault.class, null, value);
}
示例3: addFloppyDriveFromISO
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
/**
* @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);
}
示例4: addFloppyDriveFromHost
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
/**
* @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);
}
示例5: createFloppyDrive
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
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);
}
示例6: cloneVApp_Task
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
public Task cloneVApp_Task(String name, ManagedObjectReference target, VAppCloneSpec spec) throws InvalidState, InvalidDatastore, TaskInProgress, VmConfigFault, FileFault, MigrationFault, InsufficientResourcesFault, RuntimeFault, RemoteException
{
ManagedObjectReference taskMor = getVimService().cloneVApp_Task(getMOR(), name, target, spec);
return new Task(getServerConnection(), taskMor);
}
示例7: powerOnVApp_Task
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
public Task powerOnVApp_Task() throws TaskInProgress, InvalidState, InsufficientResourcesFault, VmConfigFault, VAppConfigFault, FileFault, RuntimeFault, RemoteException
{
ManagedObjectReference taskMor = getVimService().powerOnVApp_Task(getMOR());
return new Task(getServerConnection(), taskMor);
}
示例8: updateVAppConfig
import com.vmware.vim25.InsufficientResourcesFault; //导入依赖的package包/类
public void updateVAppConfig(VAppConfigSpec spec) throws TaskInProgress, VmConfigFault, ConcurrentAccess, FileFault, InvalidName, DuplicateName, InvalidState, InsufficientResourcesFault, InvalidDatastore, RuntimeFault, RemoteException
{
getVimService().updateVAppConfig(getMOR(), spec);
}