-
Notifications
You must be signed in to change notification settings - Fork 7
Record
ashleybrener edited this page May 6, 2013
·
1 revision
Record has the following methods.
Note that Record is an abstract class designed to be constructed with a Session instance and record type. (See below.)
-
session
Session. Session instance -
type
String. Dynect record type
Constructor for creating a typed Record instance.
-
options
Object-
record_id
String. Dynect record_id.
-
-
callback
Function Optional. The callback has argument(response)
, a Dynect JSON Response object.
Deletes an existing record.
-
options
Object-
zone
String. Dynect zone. -
fqdn
String. Dynect fqdn. -
record_id
String Optional. Dynect record_id.
-
-
callback
Function Optional. The callback has argument(response)
which is a Dynect Response object ifrecord_id
is specified, or an Array of Dynect Response objects if norecord_id
specified.
Gets existing record/s.
-
options
Object-
zone
String. Dynect zone. -
fqdn
String. Dynect fqdn. -
data
Object-
rdata
Object. RData defining the record to add. -
ttl
Number. TTL for the record. Set to0
to use zone default.
-
-
-
callback
Function Optional. The callback has argument(response)
which is a Dynect Response object.
Creates a new record.
-
options
Object-
zone
String. Dynect zone. -
fqdn
String. Dynect fqdn. -
record_id
String Optional. Dynect record_id. -
data
Object-
rdata
Object. RData defining the record to add. -
ttl
Number. TTL for the record. Set to0
to use zone default.
-
-
-
callback
Function Optional. The callback has argument(response)
which is a Dynect Response object.
Updates an existing record, or replaces all records of this type at the specified fqdn.