Class: Fog::Compute::Hyperv::NetworkAdapters

Inherits:
Hyperv::VMCollection show all
Defined in:
lib/fog/hyperv/models/compute/network_adapters.rb

Instance Attribute Summary

Attributes inherited from Hyperv::VMCollection

#vm

Attributes inherited from Hyperv::ComputerCollection

#cluster, #computer

Instance Method Summary collapse

Methods inherited from Hyperv::VMCollection

#inspect, match_on, #new, requires_vm

Methods inherited from Hyperv::ComputerCollection

#new, requires_computer

Methods inherited from Hyperv::Collection

#create, get_method, #new, requires, requires?

Instance Method Details

#all(filters = {}) ⇒ Object



9
10
11
# File 'lib/fog/hyperv/models/compute/network_adapters.rb', line 9

def all(filters = {})
  super filters.merge(all: !vm)
end

#get(name, filters = {}) ⇒ Object



13
14
15
# File 'lib/fog/hyperv/models/compute/network_adapters.rb', line 13

def get(name, filters = {})
  super filters.merge(name: name, all: !vm)
end