Method: Fog::Resources::AzureRM::ResourceGroup.parse

Defined in:
lib/fog/azurerm/models/resources/resource_group.rb

.parse(resource_group) ⇒ Object



12
13
14
15
16
17
18
19
# File 'lib/fog/azurerm/models/resources/resource_group.rb', line 12

def self.parse(resource_group)
  hash = {}
  hash['id'] = resource_group.id
  hash['name'] = resource_group.name
  hash['location'] = resource_group.location
  hash['tags'] = resource_group.tags
  hash
end