ISYS2
Enthusiast
Enthusiast

CloneVM method in SDK

Jump to solution

Hello I am trying to write an app that will allow me to discover all the templates in my Virtual Center and then allow me to deploy VMs from the one I choose.

I can discover the Templates no problem but I am having trouble with the CloneVM method - basically I don't understand what the SDK reference is getting at ?:|

Could someone write out an example line in VB.NET or C# so I can get going again please.

Many thanks

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal

Find the CloneVM.cs, C# sample as an attachment, which clone a virtual machine from a template. I hope this would help you.

View solution in original post

0 Kudos
3 Replies
admin
Immortal
Immortal

Find the CloneVM.cs, C# sample as an attachment, which clone a virtual machine from a template. I hope this would help you.

0 Kudos
ISYS2
Enthusiast
Enthusiast

Many thanks for this - I think the proplem I was having was returning the Managed Object Reference of the Template so that I could use it in the CloneVM_Task.

All is working now. Brilliant! :smileygrin:

I am writing my App in VB.NET - when I have finished I will post it back here.

Regards

0 Kudos
eldadc
Contributor
Contributor

Hi,

I know the post few years ago but can you please post your app as you promised.

Thanks

0 Kudos