Class: IControl::Management::SRVRecord

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/management.rb,
lib/icontrol/management.rb

Overview

struct that describes a DNS "SRV“ Record

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

The domain name of the record

Returns:

  • (String)

    the current value of domain_name



333
334
335
# File 'lib/icontrol/management.rb', line 333

def domain_name
  @domain_name
end

#portNumeric

The port for this service

Returns:

  • (Numeric)

    the current value of port



333
334
335
# File 'lib/icontrol/management.rb', line 333

def port
  @port
end

#priorityNumeric

The priority to use for this record

Returns:

  • (Numeric)

    the current value of priority



333
334
335
# File 'lib/icontrol/management.rb', line 333

def priority
  @priority
end

#targetString

The target to use for this record

Returns:

  • (String)

    the current value of target



333
334
335
# File 'lib/icontrol/management.rb', line 333

def target
  @target
end

#ttlNumeric

The TTL for this record

Returns:

  • (Numeric)

    the current value of ttl



333
334
335
# File 'lib/icontrol/management.rb', line 333

def ttl
  @ttl
end

#weightNumeric

The weight to use for this record

Returns:

  • (Numeric)

    the current value of weight



333
334
335
# File 'lib/icontrol/management.rb', line 333

def weight
  @weight
end