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

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

The newest version!
????2?2com/vmware/vim25/mo/samples/cluster/DrsModeChangerjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis4Lcom/vmware/vim25/mo/samples/cluster/DrsModeChanger;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception	java/lang/SystemoutLjava/io/PrintStream;0Usage: DrsModeChanger url username password mode
java/io/PrintStream println(Ljava/lang/String;)V
"#$exit(I)V&java/net/URL
%( *	domain-c5,#com/vmware/vim25/mo/ServiceInstance
+./6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V1'com/vmware/vim25/ManagedObjectReference
0	
045 	set_value7ClusterComputeResource
09: setType
+<=>getServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
@BA com/vmware/vim25/mo/util/MorUtilCDcreateExactManagedEntityt(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedEntity;F*com/vmware/vim25/mo/ClusterComputeResourceH"com/vmware/vim25/ClusterConfigSpec
G	K%com/vmware/vim25/ClusterDrsConfigInfo
J	Nmanual
PRQjava/lang/StringSTequals(Ljava/lang/Object;)Z	VXWcom/vmware/vim25/DrsBehaviorNYLcom/vmware/vim25/DrsBehavior;
J[\]setDefaultVmBehavior!(Lcom/vmware/vim25/DrsBehavior;)V	V_`YfullyAutomatedbjava/lang/Integer
ad$
JfghsetVmotionRate(Ljava/lang/Integer;)V
GjklsetDrsConfig*(Lcom/vmware/vim25/ClusterDrsConfigInfo;)V
EnopreconfigureCluster_TaskA(Lcom/vmware/vim25/ClusterConfigSpec;Z)Lcom/vmware/vim25/mo/Task;
rts$com/vmware/vim25/mo/ServerConnectionulogoutwjava/lang/StringBuilderyEnd of changing DRS config to 
v(
v|}~append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
v???toString()Ljava/lang/String;args[Ljava/lang/String;urlLjava/net/URL;usernameLjava/lang/String;passwordmode
drs_obj_idsi%Lcom/vmware/vim25/mo/ServiceInstance;mref_drs)Lcom/vmware/vim25/ManagedObjectReference;ccr,Lcom/vmware/vim25/mo/ClusterComputeResource;ccs$Lcom/vmware/vim25/ClusterConfigSpec;cdci'Lcom/vmware/vim25/ClusterDrsConfigInfo;
StackMapTable?
SourceFileDrsModeChanger.java!/*??
1
	??*?????!?%Y*2?'L*2M*2N*2:):?+Y+,-?-:?0Y?2:?36?8?;???E:?GY?I:	?JY?L:
M?O?
?U?Z?
?^?Z
?aY?c?e	
?i	?mW?;?q??vYx?z*2?{???
b578;<!=%>*?.A;CDDKERGaIjJsK}L?N?O?P?R?T?U?Vp??????!???%???*???.???;???D???am??jd??	s[??
?,?u?%PPPP+0EGJ??




© 2015 - 2024 Weber Informatics LLC | Privacy Policy