Reply to Message

View discussion in a popup

Replying to:
scott21
Contributor
Contributor

Well the problem is that during my custom task is not doing a vmware task. So the VM will not be locked. I am creating a Custom Task that is associated with a VM object. I start the task and it says 'In Progress'. Then I delete the VM that the Custom Task is associated with and can no longer update the Custom Task. So I have created an orphaned Custom Task. To prevent this I was going to prevent the VM from being deleted/removed while I am running a custom task on it.

I don't think using permissions is going to work in this case. I only want that one VM to be locked and I want it to be locked for every user that has access to that vCenter. I also only want it locked during the Custom Task. I have not used permissions but is it possible to do this ?

Reply
0 Kudos