I would like to deply a new VM from a tempate which is loacted in the vSphere content library.
I have seen there are already prepared workflows in vRealize Orchestrator to deploy a VM from another VM or a VM template.
One prepared workflow for example is under vCenter --> Virtual Machine management --> Clone --> Windows Customizatio --> Clone, Windows with single NIC and credential. To deploy a VM with this workflow, I need to select in the inventory the source VM, which is cloned. Unfortunately, I can not select the VM temlate which was distributed / synchronized from the content library.
Is there a way, how I can deploy a new VM with vRealize Orchestrator from a tempate which is distributed / synchronized from a vSphere content library? All suggestions are welcome.
I am using vRealize Orchestrator version 7.0.1.
the tasks that involve Content Library do not use the regular vCenter API (which would be exposed through the vCenter Plugin into vRO), but it's a separate, REST based API.
You should be able to use the HTTP-REST Plugin of vRO to develop workflows against the Content Library API.
Check these examples:
Well, vAPI plug-in is a generic plug-in that can communicate with any vAPI endpoint, so technically speaking there is no hard dependency on vCloud Suite.
On the other hand, Content Library is part of vSphere/vCenter. Apart from vCloud Suite there might be also other VMware products that provide access to it, but I don't have a list of these products. You may need to check the documentation or talk with your VMware contact.
Please use below script to get depoy the VM from content library after adding the vapi end point in vmware orachestrator.
input & out put parameters:
|datastore||VC:Datastore||The datastore to deploy to|
|endpoint||VAPI:VAPIEndpoint||The VAPI endpoint to use|
|folder||VC:VmFolder||The folder to deploy to|
|host||VC:HostSystem||The target host for deployment|
|hostname||string||Name of the new VM|
|ovfLibraryItemId||string||id of the content library item|
Resource pool to deploy to
vmObject VC:VirtualMachine VM created details