Class: Ansible::Ruby::Modules::Memset_zone_record
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Memset_zone_record
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb
Overview
Manage DNS records in a Memset account.
Instance Method Summary collapse
-
#address ⇒ String
The address for this record (can be IP or text string depending on record type).
-
#api_key ⇒ String
The API key obtained from the Memset control panel.
-
#priority ⇒ Object?
C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).
-
#record ⇒ String?
The subdomain to create.
-
#relative ⇒ Symbol?
If set then the current domain is added onto the address field for C(CNAME), C(MX), C(NS) and C(SRV)record types.
-
#state ⇒ :absent, ...
Indicates desired state of resource.
-
#ttl ⇒ 0, ...
The record’s TTL in seconds (will inherit zone’s TTL if not explicitly set).
-
#type ⇒ :A, ...
The type of DNS record to create.
-
#zone ⇒ String
The name of the zone to which to add the record to.
Methods inherited from Base
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
#address ⇒ String
Returns The address for this record (can be IP or text string depending on record type).
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 20 attribute :address |
#api_key ⇒ String
Returns The API key obtained from the Memset control panel.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 16 attribute :api_key |
#priority ⇒ Object?
Returns C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 24 attribute :priority |
#record ⇒ String?
Returns The subdomain to create.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 27 attribute :record |
#relative ⇒ Symbol?
Returns If set then the current domain is added onto the address field for C(CNAME), C(MX), C(NS) and C(SRV)record types.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 35 attribute :relative |
#state ⇒ :absent, ...
Returns Indicates desired state of resource.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 12 attribute :state |
#ttl ⇒ 0, ...
Returns The record’s TTL in seconds (will inherit zone’s TTL if not explicitly set). This must be a valid int from U(www.memset.com/apidocs/methods_dns.html#dns.zone_record_create).
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 39 attribute :ttl |
#type ⇒ :A, ...
Returns The type of DNS record to create.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 31 attribute :type |
#zone ⇒ String
Returns The name of the zone to which to add the record to.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/memset/memset_zone_record.rb', line 43 attribute :zone |