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!

貢獻者指南