Class: Ansible::Ruby::Modules::Digital_ocean_domain

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

Overview

Create/delete a DNS domain in DigitalOcean.

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

#idObject?

Returns Numeric, the droplet id you want to operate on.

Returns:

  • (Object, nil)

    Numeric, the droplet id you want to operate on.



16
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_domain.rb', line 16

attribute :id

#ipString?

Returns An ‘A’ record for ‘@’ ($ORIGIN) will be created with the value ‘ip’. ‘ip’ is an IP version 4 address.

Returns:

  • (String, nil)

    An ‘A’ record for ‘@’ ($ORIGIN) will be created with the value ‘ip’. ‘ip’ is an IP version 4 address.



23
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_domain.rb', line 23

attribute :ip

#nameString?

Returns String, this is the name of the droplet - must be formatted by hostname rules, or the name of a SSH key, or the name of a domain.

Returns:

  • (String, nil)

    String, this is the name of the droplet - must be formatted by hostname rules, or the name of a SSH key, or the name of a domain.



19
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_domain.rb', line 19

attribute :name

#state:present, ...

Returns Indicate desired state of the target.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the target.



12
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_domain.rb', line 12

attribute :state