Class: Ansible::Ruby::Modules::Vca_nat

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

Overview

Adds or removes nat rules from a gateway in a vca environment

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#nat_rulesBoolean

Returns A list of rules to be added to the gateway, Please see examples on valid entries.

Returns:

  • (Boolean)

    A list of rules to be added to the gateway, Please see examples on valid entries



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_nat.rb', line 16

attribute :nat_rules

#purge_rulesSymbol?

Returns If set to true, it will delete all rules in the gateway that are not given as parameter to this module.

Returns:

  • (Symbol, nil)

    If set to true, it will delete all rules in the gateway that are not given as parameter to this module.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_nat.rb', line 12

attribute :purge_rules