Class: Ansible::Ruby::Modules::Vmware_dvswitch

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#datacenter_nameString

Returns The name of the datacenter that will contain the dvSwitch.

Returns:

  • (String)

    The name of the datacenter that will contain the dvSwitch



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

attribute :datacenter_name

#discovery_operation:both, ...

Returns Select the discovery operation.

Returns:

  • (:both, :none, :advertise, :listen, nil)

    Select the discovery operation



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

attribute :discovery_operation

#discovery_proto:cdp, :lldp

Returns Link discovery protocol between Cisco and Link Layer discovery.

Returns:

  • (:cdp, :lldp)

    Link discovery protocol between Cisco and Link Layer discovery



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

attribute :discovery_proto

#mtuInteger

Returns The switch maximum transmission unit.

Returns:

  • (Integer)

    The switch maximum transmission unit



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

attribute :mtu

#state:present, ...

Returns Create or remove dvSwitch.

Returns:

  • (:present, :absent, nil)

    Create or remove dvSwitch



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

attribute :state

#switch_nameString

Returns The name of the switch to create or remove.

Returns:

  • (String)

    The name of the switch to create or remove



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

attribute :switch_name

Returns Quantity of uplink per ESXi host added to the switch.

Returns:

  • (Integer)

    Quantity of uplink per ESXi host added to the switch



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

attribute :uplink_quantity