Reply to Message

View discussion in a popup

Replying to:
stumpr
Virtuoso
Virtuoso


You figured it out, but because you asked for 'config.dateTimeInfo', it was stored as that hash key.


You could use the get_property() method in the SDK, which will sort of try both forms:


 


$host->get_property('config.dateTimeInfo')->ntpConfig->server;


 


Should also work:


$host->get_property('config.dateTimeInfo.ntpConfig.server');


 


I don't use it much personally, I sort of fall back on the usual Perl hash syntax.

Reuben Stump | http://www.virtuin.com | @ReubenStump
Reply
0 Kudos