Class: Ansible::Ruby::Modules::Memset_zone_record

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb

Overview

Manage DNS records in a Memset account.

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

#addressString

Returns The address for this record (can be IP or text string depending on record type).

Returns:

  • (String)

    The address for this record (can be IP or text string depending on record type).



20
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 20

attribute :address

#api_keyString

Returns The API key obtained from the Memset control panel.

Returns:

  • (String)

    The API key obtained from the Memset control panel.



16
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 16

attribute :api_key

#priorityObject?

Returns C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).

Returns:

  • (Object, nil)

    C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).



24
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 24

attribute :priority

#recordString?

Returns The subdomain to create.

Returns:

  • (String, nil)

    The subdomain to create.



27
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 27

attribute :record

#relativeSymbol?

Returns If set then the current domain is added onto the address field for C(CNAME), C(MX), C(NS) and C(SRV)record types.

Returns:

  • (Symbol, nil)

    If set then the current domain is added onto the address field for C(CNAME), C(MX), C(NS) and C(SRV)record types.



35
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 35

attribute :relative

#state:absent, ...

Returns Indicates desired state of resource.

Returns:

  • (:absent, :present, nil)

    Indicates desired state of resource.



12
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 12

attribute :state

#ttl0, ...

Returns The record’s TTL in seconds (will inherit zone’s TTL if not explicitly set). This must be a valid int from U(www.memset.com/apidocs/methods_dns.html#dns.zone_record_create).

Returns:



39
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 39

attribute :ttl

#type:A, ...

Returns The type of DNS record to create.

Returns:

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

    The type of DNS record to create.



31
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 31

attribute :type

#zoneString

Returns The name of the zone to which to add the record to.

Returns:

  • (String)

    The name of the zone to which to add the record to.



43
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 43

attribute :zone