All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.mo.samples.cluster.DrsVMotionHistory.class Maven / Gradle / Ivy

The newest version!
????2?5com/vmware/vim25/mo/samples/cluster/DrsVMotionHistoryjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis7Lcom/vmware/vim25/mo/samples/cluster/DrsVMotionHistory;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception#com/vmware/vim25/mo/ServiceInstancejava/net/URLhttps://10.20.143.209/sdk
(Ljava/lang/String;)V
Administratorpassword
!"6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V$&com/vmware/vim25/mo/InventoryNavigator
&'(
getRootFolder()Lcom/vmware/vim25/mo/Folder;
#*+&(Lcom/vmware/vim25/mo/ManagedEntity;)V-ClusterComputeResource/myDrs
#123searchManagedEntityI(Ljava/lang/String;Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedEntity;5*com/vmware/vim25/mo/ClusterComputeResource	798java/lang/System:;outLjava/io/PrintStream;=,There is no cluster called myDrs. Exiting...
?A@java/io/PrintStreamBprintln
4DEFgetMigrationHistory)()[Lcom/vmware/vim25/ClusterDrsMigration;HbThere is no migration history set. Please check whether it's running in automatic mode!
Exiting...Jjava/lang/StringBuilderLThere were totally 
I
IOPQappend(I)Ljava/lang/StringBuilder;S migration(s).
IUPV-(Ljava/lang/String;)Ljava/lang/StringBuilder;
IXYZtoString()Ljava/lang/String;
\]^getServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
`ba$com/vmware/vim25/ClusterDrsMigrationcdgetVm+()Lcom/vmware/vim25/ManagedObjectReference;
fhg com/vmware/vim25/mo/util/MorUtilijcreateExactManagedEntityt(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedEntity;l"com/vmware/vim25/mo/VirtualMachine
`nod	getSourceqcom/vmware/vim25/mo/HostSystem
`stdgetDestinationvVM: 
kxyZgetName{ migrated from 
px~ to 
???$com/vmware/vim25/mo/ServerConnection?logoutargs[Ljava/lang/String;si%Lcom/vmware/vim25/mo/ServiceInstance;
drsCluster,Lcom/vmware/vim25/mo/ClusterComputeResource;	histories'[Lcom/vmware/vim25/ClusterDrsMigration;iIsc&Lcom/vmware/vim25/mo/ServerConnection;vm$Lcom/vmware/vim25/mo/VirtualMachine;srcHost Lcom/vmware/vim25/mo/HostSystem;dstHost
StackMapTable?
SourceFileDrsVMotionHistory.java!/*??
+
	?	?Y?Y?? L?#Y+?%?),.?0?4M,??6,?CN-??6G?>?6?IYK?M-??NR?T?W?>6?s+?[:-2?_?e?k:-2?m?e?p:-2?r?e?p:?6?IYu?M?w?Tz?T?|?T}?T?|?T?W?>?-????+?[??
V/010!1(0,20487=8A:I=e?k@qA?B?C?D???F?G\	??????,???=???hz??qg???V???E???4????84???!?o??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy