Sha256: b7aaf9eab131ca73fe03a57e1ac7e070a121959f3c6db87bc0445fbe8563e830
Contents?: true
Size: 1.3 KB
Versions: 3
Compression:
Stored size: 1.3 KB
Contents
require 'fog/azurerm/core' require 'fog/azurerm/credentials' module Fog module DNS class AzureRM < Fog::Service requires :tenant_id requires :client_id requires :client_secret requires :subscription_id request_path 'fog/azurerm/requests/dns' request :create_zone request :delete_zone request :check_for_zone request :list_zones request :create_record_set request :delete_record_set request :list_record_sets request :get_records_from_record_set model_path 'fog/azurerm/models/dns' model :zone collection :zones model :record_set collection :record_sets class Mock def initialize(options = {}) end end class Real def initialize(options) @tenant_id = options[:tenant_id] @client_id = options[:client_id] @client_secret = options[:client_secret] @subscription_id = options[:subscription_id] @resources = Fog::Resources::AzureRM.new( tenant_id: options[:tenant_id], client_id: options[:client_id], client_secret: options[:client_secret], subscription_id: options[:subscription_id]) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.2 | lib/fog/azurerm/dns.rb |
fog-azure-rm-0.0.1 | lib/fog/azurerm/dns.rb |
fog-azure-rm-0.0.0 | lib/fog/azurerm/dns.rb |