README.md in azure-armrest-0.9.3 vs README.md in azure-armrest-0.9.4
- old
+ new
@@ -27,10 +27,15 @@
:tenant_id => 'ZZZZZ',
:subscription_id => 'ABCDEFG'
)
# This will then use the configuration info set above.
-# You can add other options specific to the service to be created
+vms = Azure::Armrest::VirtualMachineService.new(conf)
+
+# You can add other options specific to the service to be created,
+# such as the provider.
+
+options = {:provider => 'Microsoft.ClassicCompute'}
vms = Azure::Armrest::VirtualMachineService.new(conf, options)
# List all virtual machines for a given resource group:
vms.list(some_group).each do |vm|
puts vm.name