Class: IControl::Management::ResourceRecord

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

Overview

The ResourceRecord interface contains all the calls necessary for manipulating Resource Records: adding/deleting/updating

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IControl::Base

Instance Method Details

#add_a(opts) ⇒ Object

Adds DNS "A“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :a_records (IControl::Management::ARecord[])

    The list of A Records.

  • :sync_ptrs (boolean)

    Boolean sequence to indicate if PTR records should be automatically generated from these A Records. This is one per VIEW_ZONE, not one per a_record

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


18
19
20
21
# File 'lib/icontrol/management/resource_record.rb', line 18

def add_a(opts)
  opts = check_params(opts,[:a_records,:sync_ptrs])
  super(opts)
end

#add_aaaa(opts) ⇒ Object

Adds DNS "AAAA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :aaaa_records (IControl::Management::AAAARecord[])

    The list of AAAA records.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


32
33
34
35
# File 'lib/icontrol/management/resource_record.rb', line 32

def add_aaaa(opts)
  opts = check_params(opts,[:aaaa_records,:sync_ptrs])
  super(opts)
end

#add_cname(opts) ⇒ Object

Adds DNS "CNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


45
46
47
48
# File 'lib/icontrol/management/resource_record.rb', line 45

def add_cname(opts)
  opts = check_params(opts,[:cname_records])
  super(opts)
end

#add_dname(opts) ⇒ Object

Adds DNS "DNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


58
59
60
61
# File 'lib/icontrol/management/resource_record.rb', line 58

def add_dname(opts)
  opts = check_params(opts,[:dname_records])
  super(opts)
end

#add_hinfo(opts) ⇒ Object

Adds DNS "HINFO“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


71
72
73
74
# File 'lib/icontrol/management/resource_record.rb', line 71

def add_hinfo(opts)
  opts = check_params(opts,[:hinfo_records])
  super(opts)
end

#add_mx(opts) ⇒ Object

Adds DNS "MX“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


84
85
86
87
# File 'lib/icontrol/management/resource_record.rb', line 84

def add_mx(opts)
  opts = check_params(opts,[:mx_records])
  super(opts)
end

#add_ns(opts) ⇒ Object

Adds DNS "NS“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


97
98
99
100
# File 'lib/icontrol/management/resource_record.rb', line 97

def add_ns(opts)
  opts = check_params(opts,[:ns_records])
  super(opts)
end

#add_ptr(opts) ⇒ Object

Adds DNS "PTR“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


110
111
112
113
# File 'lib/icontrol/management/resource_record.rb', line 110

def add_ptr(opts)
  opts = check_params(opts,[:ptr_records])
  super(opts)
end

#add_rrs(opts) ⇒ Object

Adds a list of RRS to a view/zone

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :rr_lists (IControl::Management::RRList)

    A list containing sequences of all the RR types to add.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


124
125
126
127
# File 'lib/icontrol/management/resource_record.rb', line 124

def add_rrs(opts)
  opts = check_params(opts,[:rr_lists,:sync_ptrs])
  super(opts)
end

#add_soa(opts) ⇒ Object

Adds DNS "SOA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


137
138
139
140
# File 'lib/icontrol/management/resource_record.rb', line 137

def add_soa(opts)
  opts = check_params(opts,[:soa_records])
  super(opts)
end

#add_srv(opts) ⇒ Object

Adds DNS "SRV“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


150
151
152
153
# File 'lib/icontrol/management/resource_record.rb', line 150

def add_srv(opts)
  opts = check_params(opts,[:srv_records])
  super(opts)
end

#add_txt(opts) ⇒ Object

Adds DNS "TXT“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


163
164
165
166
# File 'lib/icontrol/management/resource_record.rb', line 163

def add_txt(opts)
  opts = check_params(opts,[:txt_records])
  super(opts)
end

#delete_a(opts) ⇒ Object

Deletes DNS "A“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :a_records (IControl::Management::ARecord[])

    The list of A records.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


177
178
179
180
# File 'lib/icontrol/management/resource_record.rb', line 177

def delete_a(opts)
  opts = check_params(opts,[:a_records,:sync_ptrs])
  super(opts)
end

#delete_a6(opts) ⇒ Object

deletes DNS "A6“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :a6_records (IControl::Management::A6Record[])

    The list of A6 records.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


191
192
193
194
# File 'lib/icontrol/management/resource_record.rb', line 191

def delete_a6(opts)
  opts = check_params(opts,[:a6_records,:sync_ptrs])
  super(opts)
end

#delete_aaaa(opts) ⇒ Object

Deletes DNS "AAAA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :aaaa_records (IControl::Management::AAAARecord[])

    The list of AAAA records.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


205
206
207
208
# File 'lib/icontrol/management/resource_record.rb', line 205

def delete_aaaa(opts)
  opts = check_params(opts,[:aaaa_records,:sync_ptrs])
  super(opts)
end

#delete_cname(opts) ⇒ Object

Deletes DNS "CNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


218
219
220
221
# File 'lib/icontrol/management/resource_record.rb', line 218

def delete_cname(opts)
  opts = check_params(opts,[:cname_records])
  super(opts)
end

#delete_dname(opts) ⇒ Object

Deletes DNS "DNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


231
232
233
234
# File 'lib/icontrol/management/resource_record.rb', line 231

def delete_dname(opts)
  opts = check_params(opts,[:dname_records])
  super(opts)
end

#delete_hinfo(opts) ⇒ Object

Deletes DNS "HINFO“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


244
245
246
247
# File 'lib/icontrol/management/resource_record.rb', line 244

def delete_hinfo(opts)
  opts = check_params(opts,[:hinfo_records])
  super(opts)
end

#delete_key(opts) ⇒ Object

Deletes DNS "KEY“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


257
258
259
260
# File 'lib/icontrol/management/resource_record.rb', line 257

def delete_key(opts)
  opts = check_params(opts,[:key_records])
  super(opts)
end

#delete_mx(opts) ⇒ Object

Deletes DNS "MX“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


270
271
272
273
# File 'lib/icontrol/management/resource_record.rb', line 270

def delete_mx(opts)
  opts = check_params(opts,[:mx_records])
  super(opts)
end

#delete_ns(opts) ⇒ Object

Deletes DNS "NS“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


283
284
285
286
# File 'lib/icontrol/management/resource_record.rb', line 283

def delete_ns(opts)
  opts = check_params(opts,[:ns_records])
  super(opts)
end

#delete_nxt(opts) ⇒ Object

deletes DNS "NXT“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


296
297
298
299
# File 'lib/icontrol/management/resource_record.rb', line 296

def delete_nxt(opts)
  opts = check_params(opts,[:nxt_records])
  super(opts)
end

#delete_ptr(opts) ⇒ Object

Deletes DNS "PTR“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


309
310
311
312
# File 'lib/icontrol/management/resource_record.rb', line 309

def delete_ptr(opts)
  opts = check_params(opts,[:ptr_records])
  super(opts)
end

#delete_sig(opts) ⇒ Object

deletes DNS "SIG“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


322
323
324
325
# File 'lib/icontrol/management/resource_record.rb', line 322

def delete_sig(opts)
  opts = check_params(opts,[:sig_records])
  super(opts)
end

#delete_soa(opts) ⇒ Object

Deletes DNS "SOA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


335
336
337
338
# File 'lib/icontrol/management/resource_record.rb', line 335

def delete_soa(opts)
  opts = check_params(opts,[:soa_records])
  super(opts)
end

#delete_srv(opts) ⇒ Object

Deletes DNS "SRV“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


348
349
350
351
# File 'lib/icontrol/management/resource_record.rb', line 348

def delete_srv(opts)
  opts = check_params(opts,[:srv_records])
  super(opts)
end

#delete_txt(opts) ⇒ Object

Deletes DNS "TXT“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


361
362
363
364
# File 'lib/icontrol/management/resource_record.rb', line 361

def delete_txt(opts)
  opts = check_params(opts,[:txt_records])
  super(opts)
end

#rrsString[]

Gets a list of resource records for a specified view/zone

Returns:

  • (String[])

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


373
374
375
# File 'lib/icontrol/management/resource_record.rb', line 373

def rrs
  super
end

#rrs_detailedRRList

Gets a list of resource records for this view/zone information.

Returns:

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


384
385
386
# File 'lib/icontrol/management/resource_record.rb', line 384

def rrs_detailed
  super
end

#update_a(opts) ⇒ Object

Updates or changes DNS "A“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

  • :old_records (IControl::Management::ARecord[])

    The list of old records to be replaced.

  • :new_records (IControl::Management::ARecord[])

    The list of new records to update with.

  • :sync_ptrs (boolean)

    A list containing sequences of states indicating whether PTR records should automatically be generated.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


406
407
408
409
# File 'lib/icontrol/management/resource_record.rb', line 406

def update_a(opts)
  opts = check_params(opts,[:old_records,:new_records,:sync_ptrs])
  super(opts)
end

#update_aaaa(opts) ⇒ Object

Updates or changes DNS "AAAA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


421
422
423
424
# File 'lib/icontrol/management/resource_record.rb', line 421

def update_aaaa(opts)
  opts = check_params(opts,[:old_records,:new_records,:sync_ptrs])
  super(opts)
end

#update_cname(opts) ⇒ Object

Updates or changes DNS "CNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


435
436
437
438
# File 'lib/icontrol/management/resource_record.rb', line 435

def update_cname(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_dname(opts) ⇒ Object

Updates or changes DNS "DNAME“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


449
450
451
452
# File 'lib/icontrol/management/resource_record.rb', line 449

def update_dname(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_hinfo(opts) ⇒ Object

Updates or changes DNS "HINFO“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


463
464
465
466
# File 'lib/icontrol/management/resource_record.rb', line 463

def update_hinfo(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_mx(opts) ⇒ Object

Updates or changes DNS "MX“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


477
478
479
480
# File 'lib/icontrol/management/resource_record.rb', line 477

def update_mx(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_ns(opts) ⇒ Object

Updates or changes DNS "NS“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


491
492
493
494
# File 'lib/icontrol/management/resource_record.rb', line 491

def update_ns(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_ptr(opts) ⇒ Object

Updates or changes DNS "PTR“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


505
506
507
508
# File 'lib/icontrol/management/resource_record.rb', line 505

def update_ptr(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_soa(opts) ⇒ Object

Updates or changes DNS "SOA“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


519
520
521
522
# File 'lib/icontrol/management/resource_record.rb', line 519

def update_soa(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_srv(opts) ⇒ Object

Updates or changes DNS "SRV“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


533
534
535
536
# File 'lib/icontrol/management/resource_record.rb', line 533

def update_srv(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#update_txt(opts) ⇒ Object

Updates or changes DNS "TXT“ Records.

Parameters:

  • opts (Hash)

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.


547
548
549
550
# File 'lib/icontrol/management/resource_record.rb', line 547

def update_txt(opts)
  opts = check_params(opts,[:old_records,:new_records])
  super(opts)
end

#versionString

Gets the version information for this interface.

Returns:

  • (String)

392
393
394
# File 'lib/icontrol/management/resource_record.rb', line 392

def version
  super
end