mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 09:39:58 -05:00
eda57e2a07
Sample output: VM ID VM Name ------- ---------------------------------------------------------- vm-35 vcenter vm-50 nsx-manager vm-51 Node-7c1f558c-d026-4e48-be2b-f0bb6e6c220f-NSX-controller-1 vm-52 Node-db8fda3f-f611-4631-a3ac-700ab6412ea0-NSX-controller-2 vm-53 Node-844750bc-0191-45da-9a0d-1f849de2ea08-NSX-controller-3 Signed-off-by: Tianhao He <het@vmware.com> |
||
---|---|---|
.. | ||
__init__.py | ||
add_remove_hosts.py | ||
connect_to_vsphere_with_default_sddc_password.py | ||
README.md | ||
sddc_crud.py |
This directory contains samples for VMC SDDC APIs:
Use -h to check the required parameter for each sample:
$ python add_remove_hosts.py -h
To run the sample:
$ python add_remove_hosts.py <refresh_token> <org_id> <sddc_id>
- Testbed Requirement:
- An organization associated with the calling user.
- A SDDC in the organization