Class: Ansible::Ruby::Modules::Dnsimple

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb

Overview

Manages domains and records via the DNSimple API, see the docs: U(developer.dnsimple.com/).

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#account_api_tokenString?

Returns Account API token. See I(account_email) for more information.

Returns:

  • (String, nil)

    Account API token. See I(account_email) for more information.



16
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 16

attribute :account_api_token

#account_emailString?

Returns Account email. If omitted, the environment variables C(DNSIMPLE_EMAIL) and C(DNSIMPLE_API_TOKEN) will be looked for.,If those aren’t found, a C(.dnsimple) file will be looked for, see: U(github.com/mikemaccana/dnsimple-python#getting-started).

Returns:



12
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 12

attribute :account_email

#domainString?

Returns Domain to work with. Can be the domain name (e.g. “mydomain.com”) or the numeric ID of the domain in DNSimple.,If omitted, a list of domains will be returned.,If domain is present but the domain doesn’t exist, it will be created.

Returns:

  • (String, nil)

    Domain to work with. Can be the domain name (e.g. “mydomain.com”) or the numeric ID of the domain in DNSimple.,If omitted, a list of domains will be returned.,If domain is present but the domain doesn’t exist, it will be created.



20
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 20

attribute :domain

#priorityObject?

Returns Record priority.

Returns:

  • (Object, nil)

    Record priority.



44
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 44

attribute :priority

#recordString?

Returns Record to add, if blank a record for the domain will be created, supports the wildcard (*).

Returns:

  • (String, nil)

    Record to add, if blank a record for the domain will be created, supports the wildcard (*).



24
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 24

attribute :record

#record_idsString?

Returns List of records to ensure they either exist or do not exist.

Returns:

  • (String, nil)

    List of records to ensure they either exist or do not exist.



28
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 28

attribute :record_ids

#soloSymbol?

Returns Whether the record should be the only one for that record type and record name.,Only use with C(state) is set to C(present) on a record.

Returns:

  • (Symbol, nil)

    Whether the record should be the only one for that record type and record name.,Only use with C(state) is set to C(present) on a record.



51
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 51

attribute :solo

#state:present, ...

Returns whether the record should exist or not.

Returns:

  • (:present, :absent, nil)

    whether the record should exist or not.



47
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 47

attribute :state

#ttlInteger?

Returns The TTL to give the new record in seconds.

Returns:

  • (Integer, nil)

    The TTL to give the new record in seconds.



36
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 36

attribute :ttl

#type:A, ...

Returns The type of DNS record to create.

Returns:

  • (:A, :ALIAS, :CNAME, :MX, :SPF, :URL, :TXT, :NS, :SRV, :NAPTR, :PTR, :AAAA, :SSHFP, :HINFO, :POOL, nil)

    The type of DNS record to create.



32
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 32

attribute :type

#valueString?

Returns Record value.,Must be specified when trying to ensure a record exists.

Returns:

  • (String, nil)

    Record value.,Must be specified when trying to ensure a record exists.



40
# File 'lib/ansible/ruby/modules/generated/net_tools/dnsimple.rb', line 40

attribute :value