7.3

Table Of Contents
4 Specify the roles to grant access to the menu operation.
a Add the authorizedTasks element.
<operation name="WFMachineMenu1" displayName="Execute Machine Menu task">
<authorizedTasks>
</authorizedTasks>
</operation>
b For each role that you want to grant access to the operation, add a task element, for example:
<authorizedTasks>
<task>VRM User Custom Event</task>
<task>VRM Support Custom Event</task>
<task>Group Administrator Custom Event</task>
<task>Enterprise Administrator Custom Event</task>
<task>VRM Administrator Custom Event</task>
</authorizedTasks>
The valid contents of the task element are as follows:
Element content Description
VRM User Custom Event
Grants access to the operation for all users.
VRM Support Custom Event
Grants access to the operation for support users.
Group Administrator Custom
Event
Grants access to the operation for business group managers.
Enterprise Administrator Custom
Event
Grants access to the operation for fabric administrators.
VRM Administrator Custom Event
Grants access to the operation for IaaS administrators only.
5 (Optional) Specify the machine states for which the operation is available.
a Add the machineStates element.
<operation name="WFMachineMenu1" displayName="Execute Machine Menu task">
<machineStates>
</machineStates>
</operation>
b For each state in which the operation should be available, add a state element.
<machineStates>
<state>On</state>
<state>Off</state>
</machineStates>
The value may be any of the possible machine states. For a full list of machine states, see IaaS
Conguration for Virtual Platforms, IaaS Conguration for Physical Machines, or IaaS Conguration for
Cloud Platforms.
If the element is omied, the operation is available for all machine states.
The following is an example of a complete operation conguration le:
<?xml version="1.0" encoding="utf-8" ?>
<customOperations xmlns="http://www.dynamicops.com/schemas/2009/OperationConfig/">
<operation name="WFMachineMenu1" displayName="Execute Machine Menu task">
<authorizedTasks>
<task>VRM User Custom Event</task>
<task>VRM Support Custom Event</task>
<task>Group Administrator Custom Event</task>
Chapter 1 Life Cycle Extensibility
VMware, Inc. 59