vmware / go-vcloud-director

Golang SDK for VMware Cloud Director
Other
80 stars 76 forks source link

Missing vm OVF_Environment #526

Closed odraghi closed 1 year ago

odraghi commented 1 year ago

Is your feature request related to a problem? Please describe.

-

Describe the solution you'd like

Add VM types for OVF_Environment and it's children . Don't forget the attribut vCenterId witch is the VM moref. Add func VM.GetEnvironment

Notice : I don't find specific API call to retrieve only "Environment" section. I think that it's needed to fetch with the vm href for that.

Describe alternatives you've considered

No response

Additional context

Sample extracted from a VM xml:

VMware ESXi 6.7.0 VMware, Inc. en