-
Notifications
You must be signed in to change notification settings - Fork 5
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.)
-
sessionSession. Session instance -
typeString. Dynect record type
Constructor for creating a typed Record instance.
-
optionsObject-
record_idString. Dynect record_id.
-
-
callbackFunction Optional. The callback has argument(response), a Dynect JSON Response object.
Deletes an existing record.
-
optionsObject-
zoneString. Dynect zone. -
fqdnString. Dynect fqdn. -
record_idString Optional. Dynect record_id.
-
-
callbackFunction Optional. The callback has argument(response)which is a Dynect Response object ifrecord_idis specified, or an Array of Dynect Response objects if norecord_idspecified.
Gets existing record/s.
-
optionsObject-
zoneString. Dynect zone. -
fqdnString. Dynect fqdn. -
dataObject-
rdataObject. RData defining the record to add. -
ttlNumber. TTL for the record. Set to0to use zone default.
-
-
-
callbackFunction Optional. The callback has argument(response)which is a Dynect Response object.
Creates a new record.
-
optionsObject-
zoneString. Dynect zone. -
fqdnString. Dynect fqdn. -
record_idString Optional. Dynect record_id. -
dataObject-
rdataObject. RData defining the record to add. -
ttlNumber. TTL for the record. Set to0to use zone default.
-
-
-
callbackFunction 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.