Vmware vSphere 资源视图托管对象
2023-04-18 10:52:30 4 举报
AI智能生成
Vmware vSphere 资源视图托管对象
作者其他创作
大纲/内容
content类: <class 'pyVmomi.VmomiSupport.vim.ServiceInstanceContent'>使用si.content获取即为本对象
虚拟机目录(Folder)类:'pyVmomi.VmomiSupport.vim.Folder'
vApp(VirtualApp)类:'pyVmomi.VmomiSupport.vim.VirtualApp'
虚拟机(VirtualMachine)类:'pyVmomi.VmomiSupport.vim.VirtualMachine'name:虚拟机的名称(自定义)parent:'pyVmomi.VmomiSupport.vim.Folder'resourcePool:'pyVmomi.VmomiSupport.vim.ResourcePool'
资源池(resourcePool)类:'pyVmomi.VmomiSupport.vim.ResourcePool'name: 'Resources'parent:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'owner:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'resourcePool:'pyVmomi.VmomiSupport.ManagedObject[]'vm:'pyVmomi.VmomiSupport.ManagedObject[]'vm[0]:'pyVmomi.VmomiSupport.vim.VirtualMachine'
主机 (HostSystem)类:'pyVmomi.VmomiSupport.vim.HostSystem'parent:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'name:主机名称(可以自定义)capability:'pyVmomi.VmomiSupport.vim.host.Capability'hardware:'pyVmomi.VmomiSupport.vim.host.HardwareInfo'datastore:'pyVmomi.VmomiSupport.ManagedObject[]'datastore[0]:'pyVmomi.VmomiSupport.vim.Datastore'vm:'pyVmomi.VmomiSupport.ManagedObject[]'vm[0]:'pyVmomi.VmomiSupport.vim.VirtualMachine'network:'pyVmomi.VmomiSupport.ManagedObject[]'network[0]:'pyVmomi.VmomiSupport.vim.Network'
集群(ClusterComputeResource)数据中心下面建立了集群的话,则子实体为本类型类:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'name:集群计算资源的名称(自定义)parent:'pyVmomi.VmomiSupport.vim.Folder'resourcePool:'pyVmomi.VmomiSupport.vim.ResourcePool'host:'pyVmomi.VmomiSupport.ManagedObject[]'host[0]:'pyVmomi.VmomiSupport.vim.HostSystem'datastore:'pyVmomi.VmomiSupport.ManagedObject[]'datastore[0]:'pyVmomi.VmomiSupport.vim.Datastore'
计算资源(ComputeResource)数据中心下面没有建立集群,直接建立主机的话,则子实体为本类型
数据中心(Datacenter)类:'pyVmomi.VmomiSupport.vim.Datacenter'name:数据中心名称(自定义)parent:'pyVmomi.VmomiSupport.vim.Folder'vmFolder:'pyVmomi.VmomiSupport.vim.Folder'hostFolder:'pyVmomi.VmomiSupport.vim.Folder'datastoreFolder:'pyVmomi.VmomiSupport.vim.Folder'networkFolder:'pyVmomi.VmomiSupport.vim.Folder'
0 条评论
回复 删除
下一页