class Fog::Resources::AzureRM::AzureResource
This class is giving implementation of create/save and delete/destroy for resources.
Public Class Methods
parse(resource)
click to toggle source
# File lib/fog/azurerm/models/resources/azure_resource.rb, line 13 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