Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

HostSubSpecificationUpdateEvent and HostSpecificationRequireEvent definitions are missing #19

Closed
MaxxVolk opened this issue Jul 28, 2019 · 2 comments

Comments

@MaxxVolk
Copy link

Compiled Vim25Services.dll doesn't contain definitions for HostSubSpecificationUpdateEvent and HostSpecificationRequireEvent event types, which causes deserialization error while running all-possible-event-types capture.

Environment

  • SDK version:
    Unsure, but the latest vim-types.xsd donesn't have these definitions anyway.

  • .NET version:
    4.7.2

  • vSphere version:
    6.7.2

Steps or code snippet to reproduce

Run event collector to capture all events.

Actual behavior

Time-to-time, PropertyChange object contains raw xml elements (of type XmlAttribute or XmlElement) in val property of changeSet property instead of an ansessors of Event (like UserLoginSessionEvent for instance).

Expected behavior

All returned events inherided from Vim25Api.Event.

@kunal-pmj
Copy link
Contributor

Hi @MaxxVolk

Current SDK supports following vCenter releases and 6.7U2 is not one of them.

Thanks
Kunal

@MaxxVolk
Copy link
Author

Hi @kunal-pmj, thank you for your confirmation. I also found this thread vmware/pyvmomi#746, so it's confirmed to be fixed in the next release. Thank you for your hard work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants