You can create
resource actions to extend the operations that the consumers of the catalog
items can perform on items provisioned by sources other than the Advanced
Service Designer.
By creating a resource action,
you publish a
vCenter
Orchestrator workflow as a post-provisioning operation. During
this process, you can edit the default submission and read-only forms. See
Designing a Resource Action Form.
Prerequisites
■
|
Log in to the
vCloud
Automation Center console as a
service
architect.
|
■
|
Create a resource mapping
corresponding to the input parameter of the resource action. See
Create a Resource Mapping
|
Procedure
1 | Select
.
|
2 | Click
Add ( ).
|
3 | Navigate through the
vCenter
Orchestrator workflow library and select a workflow.
You can see the name
and description of the selected workflow, and the input and output parameters
as they are defined in
vCenter
Orchestrator.
|
4 | Click
Next.
|
5 | Select the resource
mapping that you previously created from the
Resource
type drop-down menu.
|
6 | Select the input
parameter for the resource action from the
Input
parameter drop-down menu.
|
7 | Click
Next.
|
8 | Enter a name and,
optionally, a description.
The
Name and
Description text
boxes are prepopulated with the name and description of the workflow as they
are defined in
vCenter
Orchestrator.
|
9 | (Optional) If
you do not want to prompt consumers to enter a description and reason for
requesting this resource action, select the
Hide
catalog request information page check box.
|
10 | (Optional) Select the type of the
action.
|
|
Disposing
|
The input parameter of the resource action workflow is
disposed and the item is removed from the
Items tab. For
example, the resource action is for deleting a provisioned machine.
|
Provisioning
|
The resource action is for provisioning. For example, the
resource action is for copying a catalog item.
From the drop-down
menu, select an output parameter. You can select a custom resource or resource
mapping that you previously created so that when the consumers request this
resource action, the provisioned items are added on the
Items tab. If you
have only the
No
provisioning option, either the resource action is not for
provisioning, or you did not create a proper custom resource or resource
mapping for the output parameter, and you cannot proceed.
|
Depending on the
action workflow, you can select one, both, or none of the options.
|
11 | Select the conditions
under which the resource action is available to users, and click
Next.
|
12 | (Optional) Edit the form of the
resource action on the
Form tab.
The form of the resource
action maps the
vCenter
Orchestrator workflow presentation. You can change the form by
deleting, editing, and rearranging the elements. You can also add a new form
and form pages and drag the necessary elements to the new form and form page.
|
|
Add a form
|
Click the
New
Form icon ( ) next to the form name, provide the required
information, and click
Submit.
|
Edit a form
|
Click the
Edit icon ( ) next to the form name, make the necessary
changes, and click
Submit.
|
Regenerate the
workflow presentation
|
Click the
Rebuild icon
( ) next to the form name and click
OK.
|
Delete a form
|
Click the
Delete icon ( ) next to the form name, and in the
confirmation dialog box click
OK.
|
Add a form page
|
Click the
New
Page icon ( ) next to the form page name, provide the
required information, and click
Submit.
|
Edit a form page
|
Click the
Edit icon ( ) next to the form page name, make the
necessary changes, and click
Submit.
|
Delete a form page
|
Click the
Delete icon ( ) next to the form name, and in the
confirmation dialog box click
OK.
|
Add an element to the
form page
|
Drag an element from
the New Fields pane on the left to the pane on the right. You can then provide
the required information and click
Submit.
|
Edit an element
|
Click the
Edit icon ( ) next to the element to edit, make the
necessary changes, and click
Submit.
|
Delete an element
|
Click the
Delete icon ( ) next to the element to delete, and in the
confirmation dialog box click
OK.
|
|
13 | Click
Add.
|
You created a resource action
and you can see it listed on the Resource Actions page.
What to do next
Publish the resource action.