com.vmware.vim25.mo.ResourcePool.class Maven / Gradle / Ivy
The newest version!
???? 1 ? com/vmware/vim25/mo/ResourcePool !com/vmware/vim25/mo/ManagedEntity R(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)V Code
LineNumberTable LocalVariableTable this "Lcom/vmware/vim25/mo/ResourcePool; serverConnection &Lcom/vmware/vim25/mo/ServerConnection; mor )Lcom/vmware/vim25/ManagedObjectReference; getChildConfiguration (()[Lcom/vmware/vim25/ResourceConfigSpec; childConfiguration
getCurrentProperty &(Ljava/lang/String;)Ljava/lang/Object; &[Lcom/vmware/vim25/ResourceConfigSpec; getConfig '()Lcom/vmware/vim25/ResourceConfigSpec; config ! #com/vmware/vim25/ResourceConfigSpec getOwner '()Lcom/vmware/vim25/mo/ComputeResource;
Exceptions & com/vmware/vim25/InvalidProperty ( com/vmware/vim25/RuntimeFault * java/rmi/RemoteException , owner
. / 0 getManagedObject 7(Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedObject; 2 #com/vmware/vim25/mo/ComputeResource getResourcePools %()[Lcom/vmware/vim25/mo/ResourcePool; 6 resourcePool
8 3 9 7(Ljava/lang/String;)[Lcom/vmware/vim25/mo/ResourcePool;
getRuntime ,()Lcom/vmware/vim25/ResourcePoolRuntimeInfo; = runtime ? (com/vmware/vim25/ResourcePoolRuntimeInfo
getSummary (()Lcom/vmware/vim25/ResourcePoolSummary; C summary E $com/vmware/vim25/ResourcePoolSummary getVMs '()[Lcom/vmware/vim25/mo/VirtualMachine; I vm
K L M getVms 9(Ljava/lang/String;)[Lcom/vmware/vim25/mo/VirtualMachine; createChildVM_Task g(Lcom/vmware/vim25/VirtualMachineConfigSpec;Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/Task; Q com/vmware/vim25/VmConfigFault S com/vmware/vim25/FileFault U com/vmware/vim25/OutOfBounds W com/vmware/vim25/InvalidName Y !com/vmware/vim25/InvalidDatastore [ +com/vmware/vim25/InsufficientResourcesFault
] ^ _
getVimService ()Lcom/vmware/vim25/VimPortType;
a b c getMOR +()Lcom/vmware/vim25/ManagedObjectReference;
e a f com/vmware/vim25/mo/HostSystem
h j i com/vmware/vim25/VimPortType N k ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/VirtualMachineConfigSpec;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; m com/vmware/vim25/mo/Task
o p q getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
l +Lcom/vmware/vim25/VirtualMachineConfigSpec; host Lcom/vmware/vim25/mo/HostSystem; taskMor
createVApp ?(Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;Lcom/vmware/vim25/VAppConfigSpec;Lcom/vmware/vim25/mo/Folder;)Lcom/vmware/vim25/mo/VirtualApp; z com/vmware/vim25/DuplicateName | com/vmware/vim25/InvalidState
~ a com/vmware/vim25/mo/Folder
h ? w ? ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;Lcom/vmware/vim25/VAppConfigSpec;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; ? com/vmware/vim25/mo/VirtualApp
? name Ljava/lang/String; resSpec %Lcom/vmware/vim25/ResourceConfigSpec;
configSpec !Lcom/vmware/vim25/VAppConfigSpec; vmFolder Lcom/vmware/vim25/mo/Folder; vaMor
importVApp }(Lcom/vmware/vim25/ImportSpec;Lcom/vmware/vim25/mo/Folder;Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/HttpNfcLease;
h ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ImportSpec;Lcom/vmware/vim25/ManagedObjectReference;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; ? com/vmware/vim25/mo/HttpNfcLease
? spec Lcom/vmware/vim25/ImportSpec; folder refreshRuntime ()V
h ? ? ? ,(Lcom/vmware/vim25/ManagedObjectReference;)V registerChildVM_Task `(Ljava/lang/String;Ljava/lang/String;Lcom/vmware/vim25/mo/HostSystem;)Lcom/vmware/vim25/mo/Task; ? com/vmware/vim25/AlreadyExists ? com/vmware/vim25/NotFound
h ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Ljava/lang/String;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ManagedObjectReference; path createResourcePool [(Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;)Lcom/vmware/vim25/mo/ResourcePool;
h ? ? ? ?(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;)Lcom/vmware/vim25/ManagedObjectReference;
rpMor destroyChildren
h ? ? ? moveIntoResourcePool '([Lcom/vmware/vim25/mo/ManagedEntity;)V ? "java/lang/IllegalArgumentException ? entities must not be null.
? ? ? (Ljava/lang/String;)V
? ? ? com/vmware/vim25/mo/util/MorUtil ? ?
createMORs P([Lcom/vmware/vim25/mo/ManagedObject;)[Lcom/vmware/vim25/ManagedObjectReference;
h ? ? ? V(Lcom/vmware/vim25/ManagedObjectReference;[Lcom/vmware/vim25/ManagedObjectReference;)V entities $[Lcom/vmware/vim25/mo/ManagedEntity; queryResourceConfigOption )()Lcom/vmware/vim25/ResourceConfigOption;
h ? ? ? R(Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/ResourceConfigOption; updateChildResourceConfiguration )([Lcom/vmware/vim25/ResourceConfigSpec;)V
h ? ? ? R(Lcom/vmware/vim25/ManagedObjectReference;[Lcom/vmware/vim25/ResourceConfigSpec;)V updateConfig :(Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;)V ? !com/vmware/vim25/ConcurrentAccess
h ? ? ? c(Lcom/vmware/vim25/ManagedObjectReference;Ljava/lang/String;Lcom/vmware/vim25/ResourceConfigSpec;)V
SourceFile ResourcePool.java ! I *+,? ?
. /
4
*? ? ?
3
4
*? ? ?
8
" # $ % ' ) 4
*+? -? 1?
=
3 4 $ % ' ) 1 *5? 7?
B
: ; 4
*