vmware/pyvmomi-community-samples

How to correlate between PowerCli/EsxCli commands to the Pyvmomi bindings

Open

#465 创建于 2018年2月15日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (914 fork)batch import
help wanted

仓库指标

Star
 (972 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Hi, Currently, using powecli commands, you can do anything by simply writing a script. I am in the process of migrating some of the stuff that I have in PowerCLI to be used with Python. I've been having trouble in finding the ESXCLI commands and the requites arguments in the PYVMOMI docs. Is there a better a way finding corresponding classes/methods in pyvmomi comparing against the esxcli commands.

per say, I am trying to find equivalent of this [http://pubs.vmware.com/vsphere-6-5/topic/com.vmware.vcli.ref.doc/esxcli_storage.html] in the pyvomi. not all the options are available in pyvmomi as it inherits from multiple places, I am having trouble in tracing them.

Please, Could anyone help? Thanks in advance!

贡献者指南