How to get ManagedObjectReference the objectID

Hi all

I want to use the object of the vmware object id, (host, vm, clusters, etc.). I saw the code examples and I am aware of is the web_platform.

but in my State, I worked in the generic work space (not in the context of this object) so I can't use web_platform.

can someone help me how to generate objectId using ManagedObject reference of this object.

I want to use it for sendNavigationRequest

Thanks in advance

Thexaxis

I do not have ready-made code, but I can explain how to build an objectId of a ManagedObjectReference on the side of Java:

-get the type, value, and the serverGuid of the ManagedObjectReference

-first build the string objectId = "urn: vmomi: {0}: {1}: {2}" where {0} is {1} the value, type and the serverGuid {2}

- then apply the following transformation needed to encode a character ' / '.

objectId = objectId.replace ("/", "% 252F")

Tags: VMware

Similar Questions

Maybe you are looking for

  • How to recover messages deleted all of my phone I 6 S more

    At one point, there was an option in the application of AT & T that would allow you to recover your deleted messagEs. It is no longer an option in my application and I am despertely need all my old posts back as soon as possible. I need them too read

  • Satellite L300-13s: issue of WiFi Draft N

    Hello I would like to know why this http://www.amazon.co.uk/Belkin-N-Wir...0490986&sr=1-7 seems to be more expensive than everywhere http://www.amazon.co.uk/Belkin-F5D80...0491017&sr=1-6 But I thought that N1 was better? or is this model N express a

  • NB200 - Webcam not recognized

    Hi, hope someone can help with this! Webcam is not working. Under Windows XP. Does not appear in the devices in Control Panel > system > device For a while, I kept getting the error message "USB device not recognized" when I start the computer, and t

  • Satellite U300 - how to find the number of warranty contract?

    Dear Sir. I bought a Toshiba Satellite U300 recently provided with a 'standard' 1 year international warranty, when I tried to register the warranty, the said registration page "number of warranty contract that have entered it is invalid or unknown.

  • IBM T43 2668-CTO (FAN NOISE)

    OK, I replaced my motherboard 1871 with a motherboard of 2668-CTO and now I'm having a problem where sometimes (in general a high load) situations my fan will turn up and cause my case of 'buzz' - what can I do to stop it? the computer runs great, ex