Class: Ansible::Ruby::Modules::Ipa_dnsrecord
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ipa_dnsrecord
- 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
-
#record_name ⇒ String, Integer
The DNS record name to manage.
-
#record_ttl ⇒ Integer?
Set the TTL for the record.,Applies only when adding a new or changing the value of record_value.
-
#record_type ⇒ :A, ...
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.
-
#record_value ⇒ 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.
-
#state ⇒ :present, ...
State to ensure.
-
#zone_name ⇒ String
The DNS zone name to which DNS record needs to be managed.
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
#record_name ⇒ String, Integer
Returns The DNS record name to manage.
16 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 16 attribute :record_name |
#record_ttl ⇒ Integer?
Returns 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.
20 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 20 attribute :record_type |
#record_value ⇒ String
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.
24 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 24 attribute :record_value |
#state ⇒ :present, ...
Returns State to ensure.
32 |
# File 'lib/ansible/ruby/modules/generated/identity/ipa/ipa_dnsrecord.rb', line 32 attribute :state |
#zone_name ⇒ String
Returns 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 |