Scope Morpheus Actions menu to the current context

Headline:

Referencing this post

Disable or grayed out unavailable functions (start, stop, upgrade agent, etc.) based on resource types: host, VM, managed instance, discovery instance, etc.


Description:
Disable or grayed out unavailable functions (start, stop, upgrade agent, etc.) based on resource types: host, VM, managed instance, discovery instance, etc.



Example/Use case(s):
When the user selects different resource types (host, vm) Morpheus shows or populates only the available functions that it can perform on specific resource type.