Class: Ansible::Ruby::Modules::Digital_ocean_domain
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Digital_ocean_domain
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb
Overview
Create/delete a DNS record in DigitalOcean.
Instance Method Summary collapse
-
#api_token ⇒ Object?
DigitalOcean api token.
-
#id ⇒ Object?
Numeric, the droplet id you want to operate on.
-
#ip ⇒ String?
The IP address to point a domain at.
-
#name ⇒ String?
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.
-
#state ⇒ :present, ...
Indicate desired state of the target.
Methods inherited from Base
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
#api_token ⇒ Object?
Returns DigitalOcean api token.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb', line 15 attribute :api_token |
#id ⇒ Object?
Returns Numeric, the droplet id you want to operate on.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb', line 18 attribute :id |
#ip ⇒ String?
Returns The IP address to point a domain at.
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb', line 25 attribute :ip |
#name ⇒ String?
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.
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb', line 21 attribute :name |
#state ⇒ :present, ...
Returns Indicate desired state of the target.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_domain.rb', line 11 attribute :state |