Class: Ansible::Ruby::Modules::Vmware_vswitch

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#mtuInteger?

Returns MTU to configure on vswitch.

Returns:

  • (Integer, nil)

    MTU to configure on vswitch



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 22

attribute :mtu

#nic_nameString

Returns vmnic name to attach to vswitch.

Returns:

  • (String)

    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_portsInteger?

Returns Number of port to configure on vswitch.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Add or remove the switch



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 26

attribute :state

#switch_nameString

Returns vSwitch name to add.

Returns:

  • (String)

    vSwitch name to add



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_vswitch.rb', line 10

attribute :switch_name