Class: Ansible::Ruby::Modules::Ipa_dnsrecord

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb

Overview

Add, modify and delete an IPA DNS Record using IPA API.

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

#record_nameString, Integer

Returns The DNS record name to manage.

Returns:

  • (String, Integer)

    The DNS record name to manage.



16
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 16

attribute :record_name

#record_ttlInteger?

Returns Set the TTL for the record.,Applies only when adding a new or changing the value of record_value.

Returns:

  • (Integer, nil)

    Set the TTL for the record.,Applies only when adding a new or changing the value of record_value.



28
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 28

attribute :record_ttl

#record_type:A, ...

Returns The type of DNS record name.,Currently, ‘A’, ‘AAAA’, ‘A6’, ‘CNAME’, ‘DNAME’, ‘PTR’ and ‘TXT’ are supported.,‘A6’, ‘CNAME’, ‘DNAME’ and ‘TXT’ are added in version 2.5.

Returns:

  • (:A, :AAAA, :A6, :CNAME, :DNAME, :PTR, :TXT, nil)

    The type of DNS record name.,Currently, ‘A’, ‘AAAA’, ‘A6’, ‘CNAME’, ‘DNAME’, ‘PTR’ and ‘TXT’ are supported.,‘A6’, ‘CNAME’, ‘DNAME’ and ‘TXT’ are added in version 2.5.



20
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 20

attribute :record_type

#record_valueString

Returns Manage DNS record name with this value.,In the case of ‘A’ or ‘AAAA’ record types, this will be the IP address.,In the case of ‘A6’ record type, this will be the A6 Record data.,In the case of ‘CNAME’ record type, this will be the hostname.,In the case of ‘DNAME’ record type, this will be the DNAME target.,In the case of ‘PTR’ record type, this will be the hostname.,In the case of ‘TXT’ record type, this will be a text.

Returns:

  • (String)

    Manage DNS record name with this value.,In the case of ‘A’ or ‘AAAA’ record types, this will be the IP address.,In the case of ‘A6’ record type, this will be the A6 Record data.,In the case of ‘CNAME’ record type, this will be the hostname.,In the case of ‘DNAME’ record type, this will be the DNAME target.,In the case of ‘PTR’ record type, this will be the hostname.,In the case of ‘TXT’ record type, this will be a text.



24
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 24

attribute :record_value

#state:present, ...

Returns State to ensure.

Returns:

  • (:present, :absent, nil)

    State to ensure



32
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 32

attribute :state

#zone_nameString

Returns The DNS zone name to which DNS record needs to be managed.

Returns:

  • (String)

    The DNS zone name to which DNS record needs to be managed.



12
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 12

attribute :zone_name