Class: Ansible::Ruby::Modules::Vultr_dns_record

Inherits:
Base show all
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

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

#dataString?

Returns Data of the record.,Required if C(state=present) or C(multiple=yes).

Returns:

  • (String, nil)

    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

#domainString

Returns The domain the record is related to.

Returns:

  • (String)

    The domain the record is related to.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 16

attribute :domain

#multipleSymbol?

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.

Returns:

  • (Symbol, nil)

    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

#nameString?

Returns The record name (subrecord).

Returns:

  • (String, nil)

    The record name (subrecord).



12
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 12

attribute :name

#priorityInteger?

Returns Priority of the record.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:A, :AAAA, :CNAME, :MX, :SRV, :CAA, :TXT, :NS, :SSHFP, nil)

    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.

Returns:

  • (:present, :absent, nil)

    State of the DNS record.



40
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 40

attribute :state

#ttlInteger?

Returns TTL of the record.

Returns:

  • (Integer, nil)

    TTL of the record.



28
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_dns_record.rb', line 28

attribute :ttl