Class: Fog::Compute::Hyperv::NetworkAdapters
- Inherits:
-
Hyperv::VMCollection
- Object
- Fog::Collection
- Hyperv::Collection
- Hyperv::ComputerCollection
- Hyperv::VMCollection
- Fog::Compute::Hyperv::NetworkAdapters
- Defined in:
- lib/fog/hyperv/models/compute/network_adapters.rb
Instance Attribute Summary
Attributes inherited from Hyperv::VMCollection
Attributes inherited from Hyperv::ComputerCollection
Instance Method Summary collapse
Methods inherited from Hyperv::VMCollection
#inspect, match_on, #new, requires_vm
Methods inherited from Hyperv::ComputerCollection
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 |