Class: Ansible::Ruby::Modules::Udm_dns_zone

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

Overview

This module allows to manage dns zones on a univention corporate server (UCS). It uses the python API of the UCS to create a new object or edit it.

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

#contactString?

Returns Contact person in the SOA record.

Returns:

  • (String, nil)

    Contact person in the SOA record.



48
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 48

attribute :contact

#expireInteger?

Returns Specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.

Returns:

  • (Integer, nil)

    Specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.



40
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 40

attribute :expire

#interfacesArray<String>, ...

Returns List of interface IP addresses, on which the server should response this zone. Required if C(state=present).

Returns:

  • (Array<String>, String, nil)

    List of interface IP addresses, on which the server should response this zone. Required if C(state=present).



28
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 28

attribute :interfaces

#mxObject?

Returns List of MX servers. (Must declared as A or AAAA records).

Returns:

  • (Object, nil)

    List of MX servers. (Must declared as A or AAAA records).



52
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 52

attribute :mx

#nameserverArray<String>, ...

Returns List of appropriate name servers. Required if C(state=present).

Returns:

  • (Array<String>, String, nil)

    List of appropriate name servers. Required if C(state=present).



24
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 24

attribute :nameserver

#refreshInteger?

Returns Interval before the zone should be refreshed.

Returns:

  • (Integer, nil)

    Interval before the zone should be refreshed.



32
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 32

attribute :refresh

#retryInteger?

Returns Interval that should elapse before a failed refresh should be retried.

Returns:

  • (Integer, nil)

    Interval that should elapse before a failed refresh should be retried.



36
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 36

attribute :retry

#state:present, ...

Returns Whether the dns zone is present or not.

Returns:

  • (:present, :absent, nil)

    Whether the dns zone is present or not.



12
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 12

attribute :state

#ttlInteger?

Returns Minimum TTL field that should be exported with any RR from this zone.

Returns:

  • (Integer, nil)

    Minimum TTL field that should be exported with any RR from this zone.



44
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 44

attribute :ttl

#type:forward_zone, :reverse_zone

Returns Define if the zone is a forward or reverse DNS zone.

Returns:

  • (:forward_zone, :reverse_zone)

    Define if the zone is a forward or reverse DNS zone.



16
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 16

attribute :type

#zoneString

Returns DNS zone name, e.g. C(example.com).

Returns:

  • (String)

    DNS zone name, e.g. C(example.com).



20
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_zone.rb', line 20

attribute :zone