Sha256: 34644355358a08b51a6f36ae80627fd739005812781c806fa058e806647555d8
Contents?: true
Size: 756 Bytes
Versions: 73
Compression:
Stored size: 756 Bytes
Contents
module Fog module Compute class Vsphere class Servertype < Fog::Model identity :id attribute :family attribute :fullname attribute :datacenter attribute :interfacetypes def initialize(attributes={} ) super defaults.merge(attributes) end def to_s id end def interfacetypes filters={} attributes[:interfacetypes] ||= service.interfacetypes({ :datacenter => datacenter, :servertype => self }.merge(filters)) end private def defaults { :id=>"otherGuest64", :family=>"otherGuestFamily", :interfacetypes => nil, } end end end end end
Version data entries
73 entries across 73 versions & 5 rubygems