Skip to content

Latest commit

 

History

History
68 lines (36 loc) · 2.55 KB

README.md

File metadata and controls

68 lines (36 loc) · 2.55 KB

Fog::AzureRM

Module for the 'fog' gem to support Microsoft Azure Resource Manager

Installation

Add this line to your application's Gemfile:

gem 'fog-azurerm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fog-azurerm

Usage

You can use this gem against the Microsoft Azure Resource Manager Services in the cloud. Of course, to use the Microsoft Azure Resource Manager Services in the cloud, you need to first create a Microsoft Azure account.

Setup Connection

The next step to use this gem, is authentication and permissioning. It is important to get familiar with this concept. For a reference on setting up a service principal from the command line see Authenticating a service principal with Azure Resource Manager or Unattended Authentication. For a more robust explanation of authentication in Azure, see Developer’s guide to auth with Azure Resource Manager API.

After creating the service principal, you should have three pieces of information, a client id (GUID), client secret (string) and tenant id (GUID).

Compute

Fog-AzureRM for compute includes implementaion of Virtual Machines and Availability Sets. Readme for the usage of Compute module.

Resources

Fog-AzureRM for resources includes implementaion of Resource Groups. Readme for the usage of Resources module.

DNS

Fog-AzureRM for dns includes implementaion of Record sets and Zones. Readme for the usage of DNS module.

Network

Fog-AzureRM for network includes implementaion of Network Interfaces, Public IPs, Subnets and Virtual Networks. Readme for the usage of Network module.

Storage

Fog-AzureRM for storage includes implementaion of Storage Accounts. Readme for the usage of Storage module.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request