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
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, #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.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 22 attribute :num_ports |
#portgroup_name ⇒ String
Returns 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.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/vmware/vmware_dvs_portgroup.rb', line 26 attribute :portgroup_type |
#switch_name ⇒ String
Returns 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_id ⇒ Integer
Returns 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 |