Class: Ansible::Ruby::Modules::Vmware_dvs_portgroup

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.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

#num_portsInteger

Returns The number of ports the portgroup should contain.

Returns:

  • (Integer)

    The number of ports the portgroup should contain



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

attribute :num_ports

#portgroup_nameString

Returns The name of the portgroup that is to be created or deleted.

Returns:

  • (String)

    The name of the portgroup that is to be created or deleted



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

attribute :portgroup_name

#portgroup_type:earlyBinding, ...

Returns See VMware KB 1022312 regarding portgroup types.

Returns:

  • (:earlyBinding, :lateBinding, :ephemeral)

    See VMware KB 1022312 regarding portgroup types



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

attribute :portgroup_type

#switch_nameString

Returns The name of the distributed vSwitch the port group should be created on.

Returns:

  • (String)

    The name of the distributed vSwitch the port group should be created on.



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

attribute :switch_name

#vlan_idInteger

Returns The VLAN ID that should be configured with the portgroup.

Returns:

  • (Integer)

    The VLAN ID that should be configured with the portgroup



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

attribute :vlan_id