Vmware vSphere 资源视图托管对象
2023-04-18 10:52:30 4 举报
AI智能生成
Vmware vSphere 资源视图托管对象
作者其他创作
大纲/内容
数据中心目录(Folder)
也是根文件夹
类:'pyVmomi.VmomiSupport.vim.Folder'
使用si.content.rootFolder获取到的就是本对象
name:数据中心
parent:None
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]'
childEntity[0]:'pyVmomi.VmomiSupport.vim.Datacenter'
childType:['Folder', ''Datacenter'']
也是根文件夹
类:'pyVmomi.VmomiSupport.vim.Folder'
使用si.content.rootFolder获取到的就是本对象
name:数据中心
parent:None
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]'
childEntity[0]:'pyVmomi.VmomiSupport.vim.Datacenter'
childType:['Folder', ''Datacenter'']
数据中心(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'
类:'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'
虚拟机目录(Folder)
类:'pyVmomi.VmomiSupport.vim.Folder'
name: 'vm'
parent:'pyVmomi.VmomiSupport.vim.Datacenter'
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]' 可迭代对象
childEntity[0]:'pyVmomi.VmomiSupport.vim.VirtualMachine'
childType:['Folder', 'VirtualMachine', 'VirtualApp']
类:'pyVmomi.VmomiSupport.vim.Folder'
name: 'vm'
parent:'pyVmomi.VmomiSupport.vim.Datacenter'
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]' 可迭代对象
childEntity[0]:'pyVmomi.VmomiSupport.vim.VirtualMachine'
childType:['Folder', 'VirtualMachine', 'VirtualApp']
虚拟机目录(Folder)
类:'pyVmomi.VmomiSupport.vim.Folder'
类:'pyVmomi.VmomiSupport.vim.Folder'
vApp(VirtualApp)
类:'pyVmomi.VmomiSupport.vim.VirtualApp'
类:'pyVmomi.VmomiSupport.vim.VirtualApp'
虚拟机(VirtualMachine)
类:'pyVmomi.VmomiSupport.vim.VirtualMachine'
name:虚拟机的名称(自定义)
parent:'pyVmomi.VmomiSupport.vim.Folder'
resourcePool:'pyVmomi.VmomiSupport.vim.ResourcePool'
类:'pyVmomi.VmomiSupport.vim.VirtualMachine'
name:虚拟机的名称(自定义)
parent:'pyVmomi.VmomiSupport.vim.Folder'
resourcePool:'pyVmomi.VmomiSupport.vim.ResourcePool'
主机(计算资源)目录(Folder)
类:'pyVmomi.VmomiSupport.vim.Folder'
name:host
parent:'pyVmomi.VmomiSupport.vim.Datacenter'
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]'
childEntity[0]:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'
childType:['Folder', 'ComputeResource', 'ClusterComputeResource']
类:'pyVmomi.VmomiSupport.vim.Folder'
name:host
parent:'pyVmomi.VmomiSupport.vim.Datacenter'
childEntity:'pyVmomi.VmomiSupport.ManagedObject[]'
childEntity[0]:'pyVmomi.VmomiSupport.vim.ClusterComputeResource'
childType:['Folder', 'ComputeResource', 'ClusterComputeResource']
集群(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'
数据中心下面建立了集群的话,则子实体为本类型
类:'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'
资源池(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'
类:'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'
类:'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'
计算资源(ComputeResource)
数据中心下面没有建立集群,直接建立主机的话,则子实体为本类型
数据中心下面没有建立集群,直接建立主机的话,则子实体为本类型
0 条评论
下一页