1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 17:39:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/vcenter/vm
Tianhao He abe05ece27 Improve sample code
1. Make sample code more consistent
2. Improve input parameter parser

Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-08-18 04:46:18 -07:00
..
create Improve sample code 2017-08-18 04:46:18 -07:00
hardware Update configuration inputs 2017-04-03 14:39:00 -04:00
__init__.py Fix typo in license text 2017-03-15 15:36:13 -07:00
delete_vm.py Improve sample code 2017-08-18 04:46:18 -07:00
list_vms.py Improve sample code 2017-08-18 04:46:18 -07:00
main.py Improve sample code 2017-08-18 04:46:18 -07:00
placement.py Fix typo in license text 2017-03-15 15:36:13 -07:00
power.py Fix typo in license text 2017-03-15 15:36:13 -07:00
README.md Initial sample drop 2017-03-03 14:04:06 -08:00

This directory contains samples for vCenter virtual machine APIs:

  1. Virtual machine Create, Read and Delete operations:

    • Create a virtual machine with system provided defaults - create/create_default_vm.py
    • Create a basic virtual machine - create/create_basic_vm.py
    • Create a exhaustive virtual machine - create/create_exhaustive_vm.py
  2. Virtual machine power lifecycle (requires an existing virtual machine):

    • Manage virtual machine power state - power.py
  3. Update virtual machine hardware settings (requires an existing virtual machine):

    • Configure virtual SATA adapters of a virtual machine - hardware/adapter/sata.py
    • Configure virtual SCSI adapters of a virtual machine - hardware/adapter/scsi.py
    • Configure the booting settings for virtual machine - hardware/boot.py
    • Configure the boot devices used by a virtual machine - hardware/boot_device.py
    • Configure CD-ROM devices for a virtual machine - hardware/cdrom.py
    • Configure CPU settings for a virtual machine - hardware/cpu.py
    • Configure disk settings for a virtual machine - hardware/disk.py
    • Configure virtual ethernet adapters of a virtual machine - hardware/ethernet.py
    • Configure Floppy settings for a virtual machine - hardware/floppy.py
    • Configure Memory settings of a virtual machine - hardware/memory.py
    • Configure Parallel ports for a virtual machine - hardware/parallel.py
    • Configure Serial ports for a virtual machine - hardware/serial.py