class Fog::Vsphere::Compute::Servertype
Public Class Methods
Source
# File lib/fog/vsphere/models/compute/servertype.rb, line 12 def initialize(attributes = {}) super defaults.merge(attributes) end
Calls superclass method
Public Instance Methods
Source
# File lib/fog/vsphere/models/compute/servertype.rb, line 20 def interfacetypes(filters = {}) attributes[:interfacetypes] ||= service.interfacetypes({ datacenter: datacenter, servertype: self }.merge(filters)) end
Private Instance Methods
Source
# File lib/fog/vsphere/models/compute/servertype.rb, line 26 def defaults { id: 'otherGuest64', family: 'otherGuestFamily', interfacetypes: nil } end