Class: Ansible::Ruby::Modules::Win_dns_client
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_dns_client
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_dns_client.rb
Overview
The C(win_dns_client) module configures the DNS client on Windows network adapters.
Instance Method Summary collapse
-
#adapter_names ⇒ String
Adapter name or list of adapter names for which to manage DNS settings (‘*’ is supported as a wildcard value).
-
#ipv4_addresses ⇒ Array<String>, String
Single or ordered list of DNS server IPv4 addresses to configure for lookup.
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
#adapter_names ⇒ String
Returns Adapter name or list of adapter names for which to manage DNS settings (‘*’ is supported as a wildcard value). The adapter name used is the connection caption in the Network Control Panel or via C(Get-NetAdapter), eg C(Local Area Connection).
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_dns_client.rb', line 12 attribute :adapter_names |
#ipv4_addresses ⇒ Array<String>, String
Returns Single or ordered list of DNS server IPv4 addresses to configure for lookup. An empty list will configure the adapter to use the DHCP-assigned values on connections where DHCP is enabled, or disable DNS lookup on statically-configured connections.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_dns_client.rb', line 16 attribute :ipv4_addresses |