當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。