Reply to Message

View discussion in a popup

Replying to:
lamw
Community Manager
Community Manager

This all depends on the operation you're performing, in a clone, yes the VM object will be locked from making any changes to. afaik, the Locked field is not something you can set but done internally within the APIs, if you take a look at the description, it says the following:

If the state of the task is "running", then this property is a list of managed entities that the operation has locked, with a shared lock.

This property is primarily set based on the entities being modified and if the task is in a 'running' state. If you operation requires a lock, then it will not allow a user to remove/delete.

Probably be a good idea to have some type of communication with your customers or even setup change control so you don't run into this problem ... if it's actually occurring.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos