vsphere-automation-sdk-python
vsphere-automation-sdk-python copied to clipboard
Finding cluster metadata information (cores, ram, etc).
- [X] I am using the latest SDK version
- [X] This API is compatible with my vCenter version (You can get the info from 'vcenter_version' in each sample)
- [X] I have searched existing issues and Troubleshooting wiki
Environment
-
sdk package version: vapi-client-bindings 1.5.0 vapi-common-client 2.10.2 vapi-runtime 2.10.2 vmc-app-python-sdk 2.3.0.0.2.11053635 vmc-client-bindings 1.3.1
-
python version: Python 3.6.4
-
vSphere version: Version 6.5.0.20000 Build 9451637
-
Operating System/Shell (used to run SDK-based apps): Windows 10
Steps or code snippet to reproduce
New Feature Request
Actual behavior
I am trying to get metadata of a vsphere cluster. This would include: Available Cluster CPUs or Cores Available Cluster Memory
I've attempted to find this information via the Clusters class and the Host class but neither seem to have a get method like the VM Class does. Is there a way to pull that information via this SDK at this time? If not, what is the suggested method.
Expected behavior
Returns information about resources on the cluster.
@klainn, thanks for the feedback. I have forward this to our PM for prioritization.