Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 728

Create VM from a vhd under a particular azure private cloud

$
0
0

Hi,

I am trying to create a new vm under a particular private cloud using an image file, whose location and name I know afore hand. I went through the documentation at New-SCVirtualMachine.

I was able to create a new vm successfully with the Parameter Set: NewVmFromVirtualDisk

However this new vm needs to be under a private cloud. So when I try to supply the -Cloud parameter and pass in the value I get the error:

Parameter set cannot be resolved using the specified named parameters.

q1) Am I approaching it right?

q2) How can I link the new VM to be under a particular private cloud, or alternatively create a vm under a particular cloud by specifying the vhd file?

q3) How to setup the networking for a new VM. Can it be done alongwith the create call? Or is there some other API that I need to invoke after its creation to setup the networking on the newly provisioned VM?



Viewing all articles
Browse latest Browse all 728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>