lib/fog/azurerm.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -1,9 +1,10 @@
require 'ms_rest_azure'
require 'rest_client'
require 'erb'
require 'fog/azurerm/config'
+require 'fog/azurerm/constants'
require 'fog/azurerm/utilities/general'
require 'fog/azurerm/version'
require 'fog/core'
require 'fog/json'
@@ -51,10 +52,15 @@
# Autoload Module for Sql
module Sql
autoload :AzureRM, File.expand_path('azurerm/sql', __dir__)
end
+ # Autoload Module for KeyVault
+ module KeyVault
+ autoload :AzureRM, File.expand_path('azurerm/key_vault', __dir__)
+ end
+
# Main AzureRM fog Provider Module
module AzureRM
extend Fog::Provider
service(:resources, 'Resources')
service(:dns, 'DNS')
@@ -62,7 +68,8 @@
service(:network, 'Network')
service(:compute, 'Compute')
service(:application_gateway, 'ApplicationGateway')
service(:traffic_manager, 'TrafficManager')
service(:sql, 'Sql')
+ service(:key_vault, 'KeyVault')
end
end