1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 02:39:59 -05:00
vsphere-automation-sdk-python/samples/vmc/sddc
Tianhao He eda57e2a07 Add connect to vmc vsphere sample
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>
2018-03-26 13:10:59 -07:00
..
__init__.py Add VMware Cloud on AWS APIs 2017-12-05 16:24:30 -08:00
add_remove_hosts.py Add exception handling for sddc samples to get detailed error message 2018-03-13 17:35:12 -07:00
connect_to_vsphere_with_default_sddc_password.py Add connect to vmc vsphere sample 2018-03-26 13:10:59 -07:00
README.md Add VMware Cloud on AWS APIs 2017-12-05 16:24:30 -08:00
sddc_crud.py Update Sample Name - sddc_crud.py 2018-03-23 08:28:24 -04:00

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