første xml update
[virt-orchestrator.git] / vFLOWER / content / Workflows / Library / vCenter / Virtual Machine management / Basic / Mark as template.workflow.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <workflow xmlns="http://vmware.com/vco/workflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://vmware.com/vco/workflow http://vmware.com/vco/workflow/Workflow-v4.xsd" root-name="item0" object-name="Workflow:name=generic" id="BD80808080808080808080808080808093C380800122528313869552e41805bb1" version="0.2.0" api-version="3.1.0" allowed-operations="fv" restartMode="1" resumeFromFailedMode="0">
3     <display-name>Mark as template</display-name>
4
5     <description>
6 Converts an existing virtual machine to a template, not allowing it to start. You can use templates to create virtual machines.
7 Warning: The workflow may finish before the virtual machine status is refreshed.
8     </description>
9     <ref-types>(VC:VirtualMachine)</ref-types>
10
11     <position x="180.0" y="20.0"/>
12
13     <input>
14         <param name="vm" type="VC:VirtualMachine">
15             <description>Virtual machine to mark as template</description>
16         </param>
17     </input>
18
19     <workflow-item name="item0" out-name="item2" type="task">
20         <display-name>Mark as template</display-name>
21
22         <script encoded="false">
23 vm.markAsTemplate();
24         </script>
25
26         <in-binding>
27             <bind name="vm" type="VC:VirtualMachine" export-name="vm"/>
28         </in-binding>
29
30         <out-binding/>
31
32         <position x="140.0" y="80.0"/>
33     </workflow-item>
34
35     <workflow-item name="item2" type="end" end-mode="0">
36         <position x="180.0" y="130.0"/>
37     </workflow-item>
38
39     <presentation>
40         <p-param name="vm">
41             <desc>Virtual machine to mark as template</desc>
42             <p-qual name="mandatory">true</p-qual>
43             <p-qual name="contextualParameter"/>
44             <p-qual name="sdkExpression">#this.isTemplate=="false"</p-qual>
45         </p-param>
46     </presentation>
47 </workflow>