Skip to content
Daniel Berger edited this page Jul 30, 2018 · 7 revisions

Support

The azure-armrest gem only supports the Azure Resource Manager (ARM) approach to MS Azure, also known as "V2". It does NOT support the older Azure Service Manager (ASM) interface, also known as "classic".

Dependencies

The following libraries are required to use this gem:

  • json
  • rest-client
  • memoist
  • azure-signature
  • activesupport
  • parallel
  • addressable

Development Dependencies

The following libraries are optional and only necessary for development and testing.

  • bundler
  • rake
  • rspec 3
  • codeclimate-test-reporter
  • timecop

A Bit More Information on Classic Azure

While this library does not support classic Azure, the V2 REST API does provide limited support for it. You can still gather information on classic resources by specifying a provider of "Microsoft.Classic" (instead of Microsoft.Compute) in your service class instance.

Note that this support is largely relegated to information gathering only. You cannot start or stop a classic VM using this gem, for example, though you could get a list of classic VM's.

Some Features of Note

The following are just a few reasons why you might want to use this library over manual handling or even the azure-sdk from Microsoft:

  • Automatic retry handling on 409 (conflict), 429 (ratelimit) or various 50x (server side) errors.
  • Ability to delete associated resources when deleting a VM.
  • Ability to easily specify an environment, such as US Gov, China or Germany, without having to manually handle endpoints.
  • Special methods for automatically handling raw blobs.
  • Ability to retrieve information for any given resource by ID.