Reply to Message

View discussion in a popup

Replying to:
ChrisROI
Enthusiast
Enthusiast

finding and using Object Property

Hi,

 

often, I face the same problem:

I have a Data Object type or Property an dont know, where to find it, to bring it on screen/report.

I look it up on the API website, find it but dont know how to retrieve it.

 

For example: https://developer.vmware.com/apis/1192/vsphere

I go to API website, choose "all properties" and search for "TotalSlots". That gives me a complex result:

  • Data Object - ClusterDasFailoverLevelAdvancedRuntimeInfo(vim.cluster.DasFailoverLevelAdvancedRuntimeInfo)
  • Extends: ClusterDasAdvancedRuntimeInfo 
  • Properties inherited from ClusterDasAdvancedRuntimeInfo
    dasHostInfo, heartbeatDatastoreInfo, vmcpSupported

Now, what I try to do is, searching with powercli for that properties... Often I cant find them, because the sturcture is too complex.

 

So at this point, what should I do?

 

Thank you in advance

 

 

 

Reply
0 Kudos