Class: Ansible::Ruby::Modules::Win_dns_client

Inherits:
Base show all
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

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

#adapter_namesString

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).

Returns:

  • (String)

    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_addressesArray<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.

Returns:

  • (Array<String>, String)

    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