Sha256: 1f98dc2f20da0e0dc393868a62b016866a30f316718335e321f4d775d8f27d5a

Contents?: true

Size: 531 Bytes

Versions: 15

Compression:

Stored size: 531 Bytes

Contents

require 'fog/core/model'

module Fog
  module Compute
    class StormOnDemand
      class Template < Fog::Model
        identity :id
        attribute :name
        attribute :deprecated
        attribute :description
        attribute :manage_level
        attribute :os
        attribute :zone_availability
      end

      def initialize(attributes={})
        super
      end

      def restore(options)
        requires :identity
        service.restore_template({:id => identity}.merge!(options))
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/storm_on_demand/models/compute/template.rb
fog-1.25.0 lib/fog/storm_on_demand/models/compute/template.rb
nsidc-fog-1.24.1 lib/fog/storm_on_demand/models/compute/template.rb
fog-1.24.0 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.11 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.10 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.9 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.8 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.7 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.6 lib/fog/storm_on_demand/models/compute/template.rb
fog-1.23.0 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.4 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.3 lib/fog/storm_on_demand/models/compute/template.rb
ns-fog-1.22.2 lib/fog/storm_on_demand/models/compute/template.rb
fog-1.22.1 lib/fog/storm_on_demand/models/compute/template.rb