Class: Ansible::Ruby::Modules::Udm_dns_record
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Udm_dns_record
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb
Overview
This module allows to manage dns records 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
-
#data ⇒ Object?
Additional data for this record, e.g.
-
#name ⇒ String
Name of the record, this is also the DNS record.
-
#state ⇒ :present, ...
Whether the dns record is present or not.
-
#type ⇒ :host_record, ...
Define the record type.
-
#zone ⇒ String
Corresponding DNS zone for this record, e.g.
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
#data ⇒ Object?
Returns Additional data for this record, e.g. [‘a’: ‘192.0.2.1’]. Required if C(state=present).
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb', line 28 attribute :data |
#name ⇒ String
Returns Name of the record, this is also the DNS record. E.g. www for www.example.com.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb', line 16 attribute :name |
#state ⇒ :present, ...
Returns Whether the dns record is present or not.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb', line 12 attribute :state |
#type ⇒ :host_record, ...
Returns Define the record type. C(host_record) is a A or AAAA record, C(alias) is a CNAME, C(ptr_record) is a PTR record, C(srv_record) is a SRV record and C(txt_record) is a TXT record.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb', line 24 attribute :type |
#zone ⇒ String
Returns Corresponding DNS zone for this record, e.g. example.com.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/univention/udm_dns_record.rb', line 20 attribute :zone |