VMware vSphere

 View Only
  • 1.  Where is VMX path in vsphere-automation-sdk-python?

    Posted Mar 02, 2023 05:52 PM

    Hi,

    I've been trying to find where the VMX path is in the vSphere Automation SDK for Python, but as yet I have been unable to find it. The documentation does not specify that it is possible to obtain this path about a Virtual Machine.

    I can pull out all sorts of attributes about a VM, including its disks, and was expecting the VMX Config File path to be listed, but its not.

    Does anyone know if its there?

     

    Thanks


    Tristan



  • 2.  RE: Where is VMX path in vsphere-automation-sdk-python?

    Broadcom Employee
    Posted Mar 02, 2023 06:30 PM

    You'll need to use the vSphere (SOAP) API which should be part of the Automation SDK, but its not part of the REST API. You can find the various configuration files under https://vdc-repo.vmware.com/vmwb-repository/dcr-public/c476b64b-c93c-4b21-9d76-be14da0148f9/04ca12ad-59b9-4e1c-8232-fd3d4276e52c/SDK/vsphere-ws/docs/ReferenceGuide/vim.vm.FileLayoutEx.html