VMware Cloud Community
vmSpecDaniel
Enthusiast
Enthusiast
Jump to solution

Query vCloud Director for vApp or VM

Hello,

can anyone help me in writing orchestrator scriptable task that checks if a given string is a name of vCloud virtual machine or vCloud vApp?

The vCloud api seems to be very not intuitive for me.

1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

Take a look at my Custom Deploy vApp workflow found in the package here: Custom Deploy vApp Workflow for vCloud Director 5.1

In particular, once imported, review the scriptable task "VM Customization" - there is a section there that checks to see if the generated VM name is unique.

Good luck Smiley Happy

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
2 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

Take a look at my Custom Deploy vApp workflow found in the package here: Custom Deploy vApp Workflow for vCloud Director 5.1

In particular, once imported, review the scriptable task "VM Customization" - there is a section there that checks to see if the generated VM name is unique.

Good luck Smiley Happy

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

com.vmware.coe.vcd.qs.getVAppByName.package

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter