$ azure availset create -g g-TokyoIaaS -l JapanEast -n avset-for-web
info: Executing command availset create
+ Looking up the availability set "avset-for-web"
+ Creating availability set "avset-for-web"
info: availset create command OK
$ azure vm create -g g-TokyoIaaS -l JapanEast -y Windows -n web14 -u hogeadmin -p hogepassword -f nic-web14 -z Standard_D1 -r avset-for-web -o storageaccountname -R vhds -d web14.vhd --image-urn MicrosoftWindowsServer:WindowsServer:2012-R2-Datacenter:latest
info: Executing command vm create
+ Looking up the VM "web14"
info: Using the VM Size "Standard_D1"
info: The [OS, Data] Disk or image configuration requires storage account
+ Looking up the storage account storageaccountname
+ Looking up the availability set "avset-for-web"
info: Found an Availability set "avset-for-web"
+ Looking up the NIC "nic-web14"
info: Found an existing NIC "nic-web14"
info: Found an IP configuration with virtual network subnet id "/subscriptions/XXX/resourceGroups/g-TokyoIaaS/providers/Microsoft.Network/virtualNetworks/vNet-Tokyo/subnets/subnet-172.16.1" in the NIC "nic-web14"
info: This is an NIC without publicIP configured
+ Creating VM "web14"
info: vm create command OK
info: Executing command vm create
+ Looking up the VM "web14"
info: Using the VM Size "Standard_D1"
info: The [OS, Data] Disk or image configuration requires storage account
+ Looking up the storage account storageaccountname
+ Looking up the availability set "avset-for-web"
info: Found an Availability set "avset-for-web"
+ Looking up the NIC "nic-web14"
info: Found an existing NIC "nic-web14"
info: Found an IP configuration with virtual network subnet id "/subscriptions/XXX/resourceGroups/g-TokyoIaaS/providers/Microsoft.Network/virtualNetworks/vNet-Tokyo/subnets/subnet-172.16.1" in the NIC "nic-web14"
info: This is an NIC without publicIP configured
+ Creating VM "web14"
info: vm create command OK