module Fog module Compute class AzureRM # CreationData model for Compute Service class CreationData < Fog::Model attribute :create_option attribute :storage_account_id attribute :source_uri attribute :source_resource_id attribute :image_reference def self.parse(creation_data) data = get_hash_from_object(creation_data) image_reference = Fog::Compute::AzureRM::ImageDiskReference.new data['image_reference'] = image_reference.merge_attributes(Fog::Compute::AzureRM::ImageDiskReference.parse(creation_data.image_reference)) data end end end end end