VMware Cloud Community
bravo2007
Contributor
Contributor

Using Webservices to On/Off VM

Hi,

We are using Esxi 3.5 and 4 in our environment.

I am exploring functionality to use webservices to perform adminstrative activities. I am able to install SDK, compile .net code and work with it.

The simpleclient sample works for me and I can connect to the host and see all resources, however, when I tried to use Power OnOff API, i am getting "fault.RestrictedVersion.summary" exception . I cannot find any other details in the fault.

can someone advise whats this fault and how can I address it?

Thanks in advance...

0 Kudos
2 Replies
mcowger
Immortal
Immortal

The Free version of ESXi (which is what you have installed) has Read Only APIs - you cannot make changes.

if you need to do SDK scripting, etc. against ESXi, you need to pay for it Smiley Happy

--Matt

VCP, vExpert, Unix Geek, Storage Nerd

--Matt VCDX #52 blog.cowger.us
0 Kudos
J1mbo
Virtuoso
Virtuoso

Not all the interfaces are read-only, basically just the VM actions.

Google 'script free licensed esxi' for more information.

http://blog.peacon.co.uk

Please award points to any useful answer.

0 Kudos