Class: Fog::Compute::VcloudDirector::TemplateVms
Instance Method Summary
collapse
#find_by_query
Methods inherited from Collection
#all, #get, #get_by_name, #get_everyone, #index
Instance Method Details
#get_single_vm(vm_id) ⇒ Object
16
17
18
19
20
|
# File 'lib/fog/vcloud_director/models/compute/template_vms.rb', line 16
def get_single_vm(vm_id)
item = service.get_template_vm(vm_id).body
return nil unless item
new(item[:vm])
end
|
#query_type ⇒ Object
22
23
24
|
# File 'lib/fog/vcloud_director/models/compute/template_vms.rb', line 22
def query_type
"vm"
end
|