Skip to content

vcenter.iso.iso_path.get_datastore_path() missing #399

Open
@Yannik

Description

@Yannik

Describe the bug

Hi,
according to the docs, there should be a vcenter.iso.iso_path.get_datastore_path() method to get the datastore path of a content library item:
https://vdc-download.vmware.com/vmwb-repository/dcr-public/c2c7244e-817b-40d8-98f3-6c2ad5db56d6/af6d8ff7-1c38-4571-b72a-614ac319a62b/operations/com/vmware/vcenter/iso/iso_path.get_datastore_path-operation.html

However, when I try to use that method, I get an error that the iso_path attribute does not exist:

>>> client.vcenter.iso_path.get_datastore_path('52973462-d3fd-47c4-b532-c8b8a2dfc655')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/yannik/.local/lib/python3.11/site-packages/vmware/vapi/bindings/stub.py", line 413, in __getattribute__
    result = object.__getattribute__(self, name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'StubFactory' object has no attribute 'iso_path'

Reproduction steps

client = create_vsphere_client(...)
client.vcenter.iso_path.get_datastore_path('<valid-library-item-guid>')

Expected behavior

The datastore path of the library item should be returned.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions