当前位置: 首页>>代码示例>>Java>>正文


Java InsufficientResourcesFault类代码示例

本文整理汇总了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); 
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:11,代码来源:VirtualMachineDeviceManager.java

示例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);
}
 
开发者ID:vmware,项目名称:photon-model,代码行数:9,代码来源:ObjectFactory.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:8,代码来源:VirtualMachineDeviceManager.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:8,代码来源:VirtualMachineDeviceManager.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:5,代码来源:VirtualMachineDeviceManager.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:6,代码来源:VirtualApp.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:6,代码来源:VirtualApp.java

示例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);
}
 
开发者ID:Juniper,项目名称:vijava,代码行数:5,代码来源:VirtualApp.java


注:本文中的com.vmware.vim25.InsufficientResourcesFault类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。