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/cloud/vmware/vmware_vswitch.rb
Overview
This module can be used to add, remove and update a VMware Standard Switch to an ESXi host.
Instance Method Summary collapse
-
#esxi_hostname ⇒ String?
Manage the vSwitch using this ESXi host system.
-
#mtu ⇒ Integer?
MTU to configure on vSwitch.
-
#nics ⇒ Object?
A list of vmnic names or vmnic name to attach to vSwitch.,Alias C(nics) is added in version 2.4.
-
#number_of_ports ⇒ Integer?
Number of port to configure on vSwitch.
-
#state ⇒ :absent, ...
Add or remove the switch.
-
#switch ⇒ String
VSwitch name to add.,Alias C(switch) is added in version 2.4.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#esxi_hostname ⇒ String?
Returns Manage the vSwitch using this ESXi host system.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 31 attribute :esxi_hostname |
#mtu ⇒ Integer?
Returns MTU to configure on vSwitch.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 23 attribute :mtu |
#nics ⇒ Object?
Returns A list of vmnic names or vmnic name to attach to vSwitch.,Alias C(nics) is added in version 2.4.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 16 attribute :nics |
#number_of_ports ⇒ Integer?
Returns Number of port to configure on vSwitch.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 19 attribute :number_of_ports |
#state ⇒ :absent, ...
Returns Add or remove the switch.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 27 attribute :state |
#switch ⇒ String
Returns vSwitch name to add.,Alias C(switch) is added in version 2.4.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vswitch.rb', line 12 attribute :switch |