Class: WinRes::Nic
- Inherits:
-
Object
- Object
- WinRes::Nic
- Defined in:
- lib/puppet/provider/ntx_create_vm/vm-win-res.rb
Instance Method Summary collapse
- #getNic ⇒ Object
-
#initialize(nic_type, kind, uuid) ⇒ Nic
constructor
A new instance of Nic.
Constructor Details
#initialize(nic_type, kind, uuid) ⇒ Nic
Returns a new instance of Nic.
102 103 104 105 106 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 102 def initialize(nic_type, kind, uuid) @nic_type = nic_type; @kind = kind; @uuid = uuid; end |
Instance Method Details
#getNic ⇒ Object
108 109 110 111 |
# File 'lib/puppet/provider/ntx_create_vm/vm-win-res.rb', line 108 def getNic() settings ={nic_type: @nic_type, subnet_reference:{kind: @kind, uuid: @uuid}} return settings; end |