Class: Ansible::Ruby::Modules::Vmware_vswitch
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_vswitch
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb
Instance Method Summary collapse
-
#mtu ⇒ Integer?
MTU to configure on vswitch.
-
#nic_name ⇒ String
Vmnic name to attach to vswitch.
-
#number_of_ports ⇒ Integer?
Number of port to configure on vswitch.
-
#state ⇒ :present, ...
Add or remove the switch.
-
#switch_name ⇒ String
VSwitch name to add.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#mtu ⇒ Integer?
Returns MTU to configure on vswitch.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 22 attribute :mtu |
#nic_name ⇒ String
Returns vmnic name to attach to vswitch.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 14 attribute :nic_name |
#number_of_ports ⇒ Integer?
Returns Number of port to configure on vswitch.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 18 attribute :number_of_ports |
#state ⇒ :present, ...
Returns Add or remove the switch.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 26 attribute :state |
#switch_name ⇒ String
Returns vSwitch name to add.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 10 attribute :switch_name |