Class: Ansible::Ruby::Modules::Vmware_dvs_portgroup
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_dvs_portgroup
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb
Overview
Create or remove a Distributed vSwitch portgroup
Instance Method Summary collapse
-
#num_ports ⇒ Integer
The number of ports the portgroup should contain.
-
#portgroup_name ⇒ String
The name of the portgroup that is to be created or deleted.
-
#portgroup_type ⇒ :earlyBinding, ...
See VMware KB 1022312 regarding portgroup types.
-
#switch_name ⇒ String
The name of the distributed vSwitch the port group should be created on.
-
#vlan_id ⇒ Integer
The VLAN ID that should be configured with the portgroup.
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
#num_ports ⇒ Integer
Returns The number of ports the portgroup should contain.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 23 attribute :num_ports |
#portgroup_name ⇒ String
Returns The name of the portgroup that is to be created or deleted.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 11 attribute :portgroup_name |
#portgroup_type ⇒ :earlyBinding, ...
Returns See VMware KB 1022312 regarding portgroup types.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 27 attribute :portgroup_type |
#switch_name ⇒ String
Returns The name of the distributed vSwitch the port group should be created on.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 15 attribute :switch_name |
#vlan_id ⇒ Integer
Returns The VLAN ID that should be configured with the portgroup.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 19 attribute :vlan_id |