Hi,
I am trying to create a bunch of virtual machines in a cloud service using azure command line tools. I first created a cloud service.
azure service create mycloudservice
Then I created virtual machines by following the instructions given at the following link:
http://azure.microsoft.com/en-us/documentation/articles/command-line-tools/#Commands_to_manage_your_Azure_virtual_machines
The problem is that each virtual machine is creating a new cloud service. It is not getting added to the cloud service I created in the first step. My command to create virtual machine is as follows:
azure vm create "myvmdnsname" "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04-LTS-amd64-server-20140416.1-en-us-30GB" "myusername" Password123@b -n "myvmmachinename" -l "West US" -c "mycloudservice" -t "my/cert/path" -P -e -v
Basically, by running the above command I expect the vm to be added to mycloudservice.But the vm is creating its own cloud service myvmdnsname.It is not respecting the -c option. My expectation is that-c should add the vm to the existing cloud service.