Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Creating VMs using the Python SDK - media link problem

$
0
0

I'm trying to create a Linux VM using the Azure Python SDK and am getting stuck on the parameters for OS Virtual Hard Disk. The error I'm getting back is of no help: "The request URI is invalid." I assume it's referring to the media link for the OS VHD.

I'm calling the create_virtual_machine_deployment() function for the ServiceManagementService module. The specific OS image I'm trying to use is b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_10-amd64-server-20130414-en-us-30GB. According to the docs (http://msdn.microsoft.com/en-us/library/windowsazure/jj157194.aspx), when specifying a SourceImageName that refers to an Azure platform image, the media link parameter must also be supplied. What exactly does this parameter need to be??? It seems like it's whatever I want it to be as long as its of the format http://_somename_.blob.core.windows.net/disks/_somediskname_.vhd, but I can't seem to give it something that it's happy with. 


Viewing all articles
Browse latest Browse all 12545

Trending Articles



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