1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/vcenter
Kiril Karaatanassov 9f33a73ac4
Demonstrate the Native Key Provider APIs (#390)
This is a short demo of native key provider APIs in the Autpmation SDK.
The demo includes how native key provider can be set as default for the
system using pyvmomi.

Signed-off-by: Kiril Karaatanssov <kkaraatanassov@vmware.com>
2023-07-31 12:12:06 +05:30
..
certificatemanagement new samples for 7032 release 2022-04-28 14:40:21 +05:30
crypto_manager/kms Demonstrate the Native Key Provider APIs (#390) 2023-07-31 12:12:06 +05:30
discovery_and_plan Adding new bindings and samples for vSphere 7.0 2020-04-10 08:46:41 +05:30
guest Updated the latest bindings and samples for 70U3 release (#288) 2021-10-13 19:13:53 +05:30
hcl Adding new bindings and samples for vSphere 7.0 2020-04-10 08:46:41 +05:30
helper Libraries and Samples for VMC M9 release 2020-01-27 15:32:36 +05:30
hvc VMware Cloud on AWS 1.4 2018-05-15 20:56:21 -07:00
namespace_management new samples for 7032 release 2022-04-28 14:40:21 +05:30
setup Remove testbed password 2020-11-05 18:54:58 +05:30
topologysvc Adding new bindings and samples for vSphere 7.0 2020-04-10 08:46:41 +05:30
vlcm Added samples for 8.0 GA 2022-10-12 17:22:09 +05:30
vm 7.0U2 readiness 2021-03-17 20:23:38 +05:30
vstats Libraries and Samples for VMC M9 release 2020-01-27 15:32:36 +05:30
wcp Added samples for 8.0 GA 2022-10-12 17:22:09 +05:30
__init__.py Fix typo in license text 2017-03-15 15:36:13 -07:00
README.md remove bin directory 2017-08-16 22:40:55 -07:00

This directory contains samples for the vSphere infrastructure and virtual machine APIs. You have two options to run samples inside this package:

  • Run all samples under vcenter folder using main.py in samples.vsphere.vcenter.setup package. Please see the README for more details.

  • Run an individual sample in an existing environment. You can either pass the environment parameters through command line arguments or specify them in testbed.py in the setup package.

    For example, to run the create_default_vm sample in the vsphere.samples.vcenter.vm.create package:

    * with the testbed settings specified in testbed.py in a Linux machine:
    
       $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -v
    
    * Or specify the credentials using command line parameters:
    
       $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -s <server> -u <username> -p <password> -v