Sha256: 41239afb85578763ae59685788596df322adda648c88ff943eeac1e804420636
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
module Fog module Resources class AzureRM # This class is giving implementation of create/save and # delete/destroy for resources. class AzureResource < Fog::Model attribute :id attribute :name attribute :type attribute :location attribute :tags def self.parse(resource) hash = {} hash['id'] = resource['id'] hash['name'] = resource['name'] hash['type'] = resource['type'] hash['location'] = resource['location'] hash['tags'] = resource['tags'] hash end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.4 | lib/fog/azurerm/models/resources/azure_resource.rb |