Class: Ansible::Ruby::Modules::Cloudflare_dns
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cloudflare_dns
- Defined in:
- lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb
Instance Method Summary collapse
-
#account_api_token ⇒ String
Account API token.
-
#account_email ⇒ String
Account email.
-
#port ⇒ Integer?
Service port.
-
#priority ⇒ String?
Record priority.
-
#proto ⇒ :tcp, ...
Service protocol.
-
#record ⇒ String?
Record to add.
-
#service ⇒ String?
Record service.
-
#solo ⇒ Boolean?
Whether the record should be the only one for that record type and record name.
-
#state ⇒ :present, ...
Whether the record(s) should exist or not.
-
#timeout ⇒ Integer?
Timeout for Cloudflare API calls.
-
#ttl ⇒ String?
The TTL to give the new record.
-
#type ⇒ :A, ...
The type of DNS record to create.
-
#value ⇒ String?
The record value.
-
#weight ⇒ String?
Service weight.
-
#zone ⇒ String
The name of the Zone to work with (e.g. “example.com”).
Methods inherited from Base
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
#account_api_token ⇒ String
Returns Account API token. You can obtain your API key from the bottom of the Cloudflare ‘My Account’ page, found here: U(www.cloudflare.com/a/account).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 10 attribute :account_api_token |
#account_email ⇒ String
Returns Account email.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 14 attribute :account_email |
#port ⇒ Integer?
Returns Service port. Required for C(type=SRV).
18 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 18 attribute :port |
#priority ⇒ String?
Returns Record priority. Required for C(type=MX) and C(type=SRV).
22 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 22 attribute :priority |
#proto ⇒ :tcp, ...
Returns Service protocol. Required for C(type=SRV).
26 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 26 attribute :proto |
#record ⇒ String?
Returns Record to add. Required if C(state=present). Default is C(@) (e.g. the zone name).
30 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 30 attribute :record |
#service ⇒ String?
Returns Record service. Required for C(type=SRV).
34 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 34 attribute :service |
#solo ⇒ Boolean?
Returns Whether the record should be the only one for that record type and record name. Only use with C(state=present),This will delete all other records with the same record name and type.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 38 attribute :solo |
#state ⇒ :present, ...
Returns Whether the record(s) should exist or not.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 42 attribute :state |
#timeout ⇒ Integer?
Returns Timeout for Cloudflare API calls.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 46 attribute :timeout |
#ttl ⇒ String?
Returns The TTL to give the new record. Min 1 (automatic), max 2147483647.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 50 attribute :ttl |
#type ⇒ :A, ...
Returns The type of DNS record to create. Required if C(state=present).
54 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 54 attribute :type |
#value ⇒ String?
Returns The record value. Required for C(state=present).
58 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 58 attribute :value |
#weight ⇒ String?
Returns Service weight. Required for C(type=SRV).
62 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 62 attribute :weight |
#zone ⇒ String
Returns The name of the Zone to work with (e.g. “example.com”). The Zone must already exist.
66 |
# File 'lib/ansible/ruby/modules/generated/extras/network/cloudflare_dns.rb', line 66 attribute :zone |