Created
October 14, 2014 18:47
-
-
Save michaelrice/546b38b06e51b35de9a6 to your computer and use it in GitHub Desktop.
pyVmomi licensableResource
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| >>> children = content.rootFolder.childEntity | |
| >>> hosts = children[0].hostFolder.childEntity | |
| >>> hosts[0].host[0].licensableResource | |
| (vim.LicenseManager.LicensableResourceInfo) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| resource = (vmodl.KeyAnyValue) [ | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'numCpuPackages', | |
| value = 2L | |
| }, | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'numCpuCores', | |
| value = 4L | |
| }, | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'memorySize', | |
| value = 17175269376L | |
| }, | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'memoryForVms', | |
| value = 0L | |
| }, | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'numVmsStarted', | |
| value = 0L | |
| }, | |
| (vmodl.KeyAnyValue) { | |
| dynamicType = <unset>, | |
| dynamicProperty = (vmodl.DynamicProperty) [], | |
| key = 'numVmsStarting', | |
| value = 0L | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment