Class: Ansible::Ruby::Modules::Vultr_dns_record
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vultr_dns_record
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb,
lib/ansible/ruby/modules/generated/cloud/vultr/vultr_dns_record.rb
Overview
Create, update and remove DNS records.
Instance Method Summary collapse
-
#data ⇒ String?
Data of the record.,Required if C(state=present) or C(multiple=yes).
-
#domain ⇒ String
The domain the record is related to.
-
#multiple ⇒ Symbol?
Whether to use more than one record with similar C(name) including no name and C(record_type).,Only allowed for a few record types, e.g.
-
#name ⇒ String?
The record name (subrecord).
-
#priority ⇒ Integer?
Priority of the record.
-
#record_type ⇒ :A, ...
Type of the record.
-
#state ⇒ :present, ...
State of the DNS record.
-
#ttl ⇒ Integer?
TTL of the record.
Methods inherited from Base
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
#data ⇒ String?
Returns Data of the record.,Required if C(state=present) or C(multiple=yes).
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 24 attribute :data |
#domain ⇒ String
Returns The domain the record is related to.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 16 attribute :domain |
#multiple ⇒ Symbol?
Returns Whether to use more than one record with similar C(name) including no name and C(record_type).,Only allowed for a few record types, e.g. C(record_type=A), C(record_type=NS) or C(record_type=MX).,C(data) will not be updated, instead it is used as a key to find existing records.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 32 attribute :multiple |
#name ⇒ String?
Returns The record name (subrecord).
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 12 attribute :name |
#priority ⇒ Integer?
Returns Priority of the record.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 36 attribute :priority |
#record_type ⇒ :A, ...
Returns Type of the record.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 20 attribute :record_type |
#state ⇒ :present, ...
Returns State of the DNS record.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 40 attribute :state |
#ttl ⇒ Integer?
Returns TTL of the record.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 28 attribute :ttl |