Class: Ansible::Ruby::Modules::Na_ontap_dns

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_dns.rb

Overview

Create, delete, modify DNS servers.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#domainsString?

Returns List of DNS domains such as ‘sales.bar.com’. The first domain is the one that the Vserver belongs to.

Returns:

  • (String, nil)

    List of DNS domains such as ‘sales.bar.com’. The first domain is the one that the Vserver belongs to.



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_dns.rb', line 20

attribute :domains

#nameserversArray<String>, ...

Returns List of IPv4 addresses of name servers such as ‘123.123.123.123’.

Returns:

  • (Array<String>, String, nil)

    List of IPv4 addresses of name servers such as ‘123.123.123.123’.



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_dns.rb', line 24

attribute :nameservers

#state:present, ...

Returns Whether the DNS servers should be enabled for the given vserver.

Returns:

  • (:present, :absent, nil)

    Whether the DNS servers should be enabled for the given vserver.



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_dns.rb', line 12

attribute :state

#vserverString

Returns The name of the vserver to use.

Returns:

  • (String)

    The name of the vserver to use.



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_dns.rb', line 16

attribute :vserver