Sha256: 3d3dc3989fb3fa1271ac5e066272cdb4284300ae2b0f23718f672b7793fbd726

Contents?: true

Size: 675 Bytes

Versions: 9

Compression:

Stored size: 675 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
fog-azure-rm-temp-0.0.3 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-0.3.3 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-temp-0.0.2 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-temp-0.0.1 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-0.3.2 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-downgraded-0.3.1 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-0.3.1 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-downgraded-0.3.0 lib/fog/azurerm/models/compute/creation_data.rb
fog-azure-rm-0.3.0 lib/fog/azurerm/models/compute/creation_data.rb