vijava
snow1128
这个作者很懒,什么都没留下…
展开
-
vijava 连接vCenter 查询指定虚拟机信息
public void queryVM() { ServiceInstance serviceInstance = null; try { //连接vCenter serviceInstance = connectVCenter(); Folder rootFolder = serviceInstance.getRootFolder(); System.out.println("rootFolder:"+rootFolder.原创 2020-10-21 10:53:32 · 1091 阅读 · 0 评论 -
vijava 连接vCenter 获取 虚拟机信息 demo
package com.example.demo.test;import com.vmware.vim25.VirtualMachineQuickStats;import com.vmware.vim25.VirtualMachineSummary;import com.vmware.vim25.mo.*;import java.net.URL;/** * test 获取虚拟...原创 2020-04-24 13:45:45 · 2349 阅读 · 3 评论