Class: Ansible::Ruby::Modules::Win_route
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_route
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_route.rb
Overview
Add or remove a static route.
Instance Method Summary collapse
-
#destination ⇒ String
Destination IP address in CIDR format (ip address/prefix length).
-
#gateway ⇒ String?
The gateway used by the static route.,If C(gateway) is not provided it will be set to C(0.0.0.0).
-
#metric ⇒ Integer?
Metric used by the static route.
-
#state ⇒ :absent, ...
If C(absent), it removes a network static route.,If C(present), it adds a network static route.
Methods inherited from Base
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
#destination ⇒ String
Returns Destination IP address in CIDR format (ip address/prefix length).
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_route.rb', line 12 attribute :destination |
#gateway ⇒ String?
Returns The gateway used by the static route.,If C(gateway) is not provided it will be set to C(0.0.0.0).
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_route.rb', line 16 attribute :gateway |
#metric ⇒ Integer?
Returns Metric used by the static route.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_route.rb', line 20 attribute :metric |
#state ⇒ :absent, ...
Returns If C(absent), it removes a network static route.,If C(present), it adds a network static route.
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_route.rb', line 24 attribute :state |