lib/fog/azurerm/resources.rb in fog-azure-rm-0.1.0 vs lib/fog/azurerm/resources.rb in fog-azure-rm-0.1.1

- old
+ new

@@ -41,21 +41,21 @@ raise e.message end end end - # This class provides the actual implemention for service calls. + # This class provides the actual implementation for service calls. class Real def initialize(options) begin require 'azure_mgmt_resources' rescue LoadError => e retry if require('rubygems') raise e.message end credentials = Fog::Credentials::AzureRM.get_credentials(options[:tenant_id], options[:client_id], options[:client_secret]) - @rmc = ::Azure::ARM::Resources::ResourceManagementClient.new(credentials) + @rmc = ::Azure::ARM::Resources::ResourceManagementClient.new(credentials, resource_manager_endpoint_url) @rmc.subscription_id = options[:subscription_id] end end end end