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

Create Azure VM with blank data disks attached to it while creating... (xplat cli tools)

$
0
0

Hi,

I want to create Azure VM with blank data disks attached to it while creating VM.

In Powershell tools, I can use " | Add-AzureDataDisk -CreateNew -DiskSizeinGB" parameter in VM creation command but I'm not sure how to achieve same using Xplat CLI tools?

Here is the plain command for VM creation using xplat cli tools :
azure vm create "xplattestd1" "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20150123-en-us-30GB" -u test -p "********Azure" -l "West US" -z "Standard_D1" -e 22 -v

I'll appreciate any help.

Thanks..


Viewing all articles
Browse latest Browse all 12545

Trending Articles



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