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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#api_tokenObject?

Returns DigitalOcean api token.

Returns:

  • (Object, nil)

    DigitalOcean api token.



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

attribute :api_token

#idObject?

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

Returns:

  • (Object, nil)

    Numeric, the droplet id you want to operate on.



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

attribute :id

#ipString?

Returns The IP address to point a domain at.

Returns:

  • (String, nil)

    The IP address to point a domain at.



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

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.



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

attribute :name

#state:present, ...

Returns Indicate desired state of the target.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the target.



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

attribute :state