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

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

The newest version!
????2?.com/vmware/vim25/mo/samples/cluster/DrsAffRulejava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis0Lcom/vmware/vim25/mo/samples/cluster/DrsAffRule;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception	java/lang/SystemoutLjava/io/PrintStream;'Usage: DrsAffRule url username password
java/io/PrintStream println(Ljava/lang/String;)V
"#$exit(I)V&java/net/URL
%( */The URL provided is NOT valid. Please check it.,	domain-c5.vm-260vm-282#com/vmware/vim25/mo/ServiceInstance
1456(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V7ClusterComputeResource
9:;	createMORO(Ljava/lang/String;Ljava/lang/String;)Lcom/vmware/vim25/ManagedObjectReference;
1=>?getServerConnection(()Lcom/vmware/vim25/mo/ServerConnection;
ACB com/vmware/vim25/mo/util/MorUtilDEcreateExactManagedEntityt(Lcom/vmware/vim25/mo/ServerConnection;Lcom/vmware/vim25/ManagedObjectReference;)Lcom/vmware/vim25/mo/ManagedEntity;G*com/vmware/vim25/mo/ClusterComputeResourceI"com/vmware/vim25/ClusterConfigSpec
H	L(com/vmware/vim25/ClusterAffinityRuleSpec
K	OApp and DB Appliance Bundle
KQR setName	TVUjava/lang/BooleanWXTRUELjava/lang/Boolean;
KZ[\
setEnabled(Ljava/lang/Boolean;)V^VirtualMachine`'com/vmware/vim25/ManagedObjectReference
KbcdsetVm-([Lcom/vmware/vim25/ManagedObjectReference;)Vf com/vmware/vim25/ClusterRuleSpec
e		ikj%com/vmware/vim25/ArrayUpdateOperationlmadd'Lcom/vmware/vim25/ArrayUpdateOperation;
eopqsetOperation*(Lcom/vmware/vim25/ArrayUpdateOperation;)V
estusetInfo%(Lcom/vmware/vim25/ClusterRuleInfo;)V
HwxysetRulesSpec&([Lcom/vmware/vim25/ClusterRuleSpec;)V
F{|}reconfigureCluster_TaskA(Lcom/vmware/vim25/ClusterConfigSpec;Z)Lcom/vmware/vim25/mo/Task;
??$com/vmware/vim25/mo/ServerConnection?logout?0Done with setting affinity rule for DRS cluster.?java/net/MalformedURLExceptionargs[Ljava/lang/String;urlLjava/net/URL;urlE Ljava/net/MalformedURLException;usernameLjava/lang/String;password
drs_obj_idvm1_oidvm2_oidsi%Lcom/vmware/vim25/mo/ServiceInstance;mref_drs)Lcom/vmware/vim25/ManagedObjectReference;ccr,Lcom/vmware/vim25/mo/ClusterComputeResource;ccs$Lcom/vmware/vim25/ClusterConfigSpec;cars*Lcom/vmware/vim25/ClusterAffinityRuleSpec;vm1vm2crs"Lcom/vmware/vim25/ClusterRuleSpec;
StackMapTable?
_	
_?? setType
_?? 	set_valuetypeidmor
SourceFileDrsAffRule.java!/*??
4
	L?*?????!L?%Y*2?'L?M?)??!*2M*2N+:-:/:?1Y+,-?3:6?8:?<?@?F:	?HY?J:
?KY?M:N?P?S?Y]?8:]?8:
?_YSY
S?a?eY?g:?h?n?r
?eYS?v	
?zW?A"B#D+E/G3H7I;J?KCNPQYScRhVqXzY?Z?[?\?]?_?a?b?d?g?i?k?l???????#??3???7???;???????C???P???Y???h???	q}??
zt???\???S??
?7?????%?	:;^?_Y??M,*??,+??,?
pq
rs ????????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy