本文整理匯總了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);
}