Class: MintPress::Infrastructure::UsingActiveDirectoryDnsEntry
- Inherits:
-
ActiveDirectoryDnsEntry
- Object
- DnsEntry
- ActiveDirectoryDnsEntry
- MintPress::Infrastructure::UsingActiveDirectoryDnsEntry
- Includes:
- Mixins::GenericProvider, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb
Properties (Read/Write)
-
#name (Default Value: 'ActiveDirectoryDnsEntryProvider')
Property Attributes- default ⇒ 'ActiveDirectoryDnsEntryProvider'
75
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 75 property :name, default: 'ActiveDirectoryDnsEntryProvider'
-
#zone ⇒ String
Active Directory Account
Property Attributes10
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 10 property :zone, type: String
-
#account ⇒ String
Property Attributes11
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 11 property :account, type: String
-
#password ⇒ Mint::Secret
Property Attributes12
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 12 property :password, type: Mint::Secret
-
#ad_domain ⇒ String
Property Attributes13
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 13 property :ad_domain, type: String
-
#domain_server ⇒ String
Property Attributes14
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/simple_providers/ad_dns.rb', line 14 property :domain_server, type: String
-
#name ⇒ String
Name of the entry
Property Attributes15
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 15 property :name, type: String
-
#type ⇒ String
Record type - usually 'A','CNAME','TXT','AAAA'
Property Attributes17
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 17 property :type, type: String
-
#values ⇒ Array of ⇒ String
content of the record - for multi-homed boxes, this can be an array
Property Attributes19
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 19 property :values, type: String, array: true
-
#ttl ⇒ Integer (Default Value: 300)
TTL of the tnry - this defaults to 300 seconds (five minutes)
Property Attributes- default ⇒ 300
21
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 21 property :ttl, type: Integer, default: 300
-
#zone ⇒ String
Property Attributes22
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 22 property :zone, type: String
-
#validate_propagated ⇒ [TrueClass, FalseClass] (Default Value: false)
Should we wait to return until the actual DNS entry is propagated?
Property Attributes- default ⇒ false
24
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 24 property :validate_propagated, type: [TrueClass, FalseClass], default: false
-
#validate_timeout ⇒ Integer (Default Value: 3600)
Maximum number of seconds to wait for DNS to work before failing
Property Attributes- default ⇒ 3600
26
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 26 property :validate_timeout, type: Integer, default: 3600
-
#nameserver ⇒ Array of ⇒ String (Default Value: nil)
"Value of the nameserver to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver: '8.8.8.8'}"
Property Attributes- default ⇒ nil
27
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 27 property :nameserver, type: String, array: true, default: nil, description: "Value of the nameserver to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver: '8.8.8.8'}"
-
#nameserver_port ⇒ Array of ⇒ Array (Default Value: nil)
"Value of the nameserver_port to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver_port: [['8.8.8.8', 53], ['8.8.4.4', 53]]}. If nameserver_port and nameserver both properties are provided, nameserver_port will take precedence."
Property Attributes- default ⇒ nil
28
# File 'src/mintpress-infrastructure/lib/mintpress-infrastructure/dns_entry.rb', line 28 property :nameserver_port, type: Array, array:true, default: nil, description: "Value of the nameserver_port to use when resolving DNS entries. This is used by the exists function, e.g. {nameserver_port: [['8.8.8.8', 53], ['8.8.4.4', 53]]}. If nameserver_port and nameserver both properties are provided, nameserver_port will take precedence."
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ UsingActiveDirectoryDnsEntry
constructor
A new instance of UsingActiveDirectoryDnsEntry.
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Methods included from Mixins::GenericProvider
included, #register_provider, #register_sub_provider
Methods inherited from ActiveDirectoryDnsEntry
#call_ad_dns, #create, #delete
Methods inherited from DnsEntry
#create, #exists?, #remove, #valid?, #wait_for_valid