Extends
Methods
(static) import_zonefile(zone_name, file, async_call) → {Promise}
Imports a zonefile and defines the zone's records w/ the info in the file.
Parameters:
Name | Type | Description |
---|---|---|
zone_name |
String | |
file |
String/File | |
async_call |
Boolean |
Returns:
- Type
- Promise
(static) import_zonefile_sync(zone_name, file) → {Promise}
Wrapper method to make the import_zonefile API call synchronously.
Parameters:
Name | Type | Description |
---|---|---|
zone_name |
String | |
file |
String/File |
Returns:
- Type
- Promise
(static) networks() → {Promise}
Returns all the networks a user can apply a zone to
Returns:
- Type
- Promise
create_resource_path() → {String}
Overrideable method to provide non-standard "PUT" behavior on creating new records.
E.g. Zones require info in the URI where Data Sources don't.
- Inherited From:
- Source:
Returns:
- Type
- String
destroy() → {Promise}
Destroys an object on the server w/ the delete HTTP verb.
- Inherited From:
- Source:
Returns:
- Type
- Promise
get_resource_path() → {String}
Defines the resource path w/ necessary zone information to succesfully GET the resource. Used
internally.
- Overrides:
- Source:
Returns:
- Type
- String
qps() → {Promise}
Returns the Queries Per Second statistics of a single record
Returns:
- Type
- Promise
save() → {Promise}
Saves an object on the server.
- Inherited From:
- Source:
Returns:
- Type
- Promise
update(attributes) → {Promise}
Updates an object w/ the provided attributes.
Parameters:
Name | Type | Description |
---|---|---|
attributes |
Object |
- Inherited From:
- Source:
Returns:
- Type
- Promise
usage() → {Promise}
Returns usage statistics on a single record
Returns:
- Type
- Promise