Package: powerdns-client
powerdns-clientNo description provided (generated by Swagger Codegenhttps://github.com/swagger-api/swagger-codegen)This Python package is automatically generated by theSwagger Codegenproject:API version: 0.0.13Package version: 1.0.4Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/nrfta/python-powerdns-client.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/nrfta/python-powerdns-client.git)Then import the package:importpowerdns_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importpowerdns_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportpowerdns_clientfrompowerdns_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: APIKeyHeaderconfiguration=powerdns_client.Configuration()configuration.api_key['X-API-Key']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-Key'] = 'Bearer'# create an instance of the API classapi_instance=powerdns_client.ConfigApi(powerdns_client.ApiClient(configuration))server_id='server_id_example'# str | The id of the server to retrievetry:# Returns all ConfigSettings for a single serverapi_response=api_instance.get_config(server_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling ConfigApi->get_config:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://localhost/api/v1ClassMethodHTTP requestDescriptionConfigApiget_configGET/servers/{server_id}/configReturns all ConfigSettings for a single serverConfigApiget_config_settingGET/servers/{server_id}/config/{config_setting_name}Returns a specific ConfigSetting for a single serverSearchApisearch_dataGET/servers/{server_id}/search-dataSearch the data inside PowerDNSServersApicache_flush_by_namePUT/servers/{server_id}/cache/flushFlush a cache-entry by nameServersApilist_serverGET/servers/{server_id}List a serverServersApilist_serversGET/serversList all serversStatsApiget_statsGET/servers/{server_id}/statisticsQuery statistics.TsigkeyApicreate_tsig_keyPOST/servers/{server_id}/tsigkeysAdd a TSIG keyTsigkeyApidelete_tsig_keyDELETE/servers/{server_id}/tsigkeys/{tsigkey_id}Delete the TSIGKey with tsigkey_idTsigkeyApiget_tsig_keyGET/servers/{server_id}/tsigkeys/{tsigkey_id}Get a specific TSIGKeys on the server, including the actual keyTsigkeyApilist_tsig_keysGET/servers/{server_id}/tsigkeysGet all TSIGKeys on the server, except the actual keyTsigkeyApiput_tsig_keyPUT/servers/{server_id}/tsigkeys/{tsigkey_id}ZonecryptokeyApicreate_cryptokeyPOST/servers/{server_id}/zones/{zone_id}/cryptokeysCreates a CryptokeyZonecryptokeyApidelete_cryptokeyDELETE/servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id}This method deletes a key specified by cryptokey_id.ZonecryptokeyApiget_cryptokeyGET/servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id}Returns all data about the CryptoKey, including the privatekey.ZonecryptokeyApilist_cryptokeysGET/servers/{server_id}/zones/{zone_id}/cryptokeysGet all CryptoKeys for a zone, except the privatekeyZonecryptokeyApimodify_cryptokeyPUT/servers/{server_id}/zones/{zone_id}/cryptokeys/{cryptokey_id}This method (de)activates a key from zone_name specified by cryptokey_idZonemetadataApicreate_metadataPOST/servers/{server_id}/zones/{zone_id}/metadataCreates a set of metadata entriesZonemetadataApidelete_metadataDELETE/servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}Delete all items of a single kind of domain metadata.ZonemetadataApiget_metadataGET/servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}Get the content of a single kind of domain metadata as a Metadata object.ZonemetadataApilist_metadataGET/servers/{server_id}/zones/{zone_id}/metadataGet all the Metadata associated with the zone.ZonemetadataApimodify_metadataPUT/servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}Replace the content of a single kind of domain metadata.ZonesApiaxfr_export_zoneGET/servers/{server_id}/zones/{zone_id}/exportReturns the zone in AXFR format.ZonesApiaxfr_retrieve_zonePUT/servers/{server_id}/zones/{zone_id}/axfr-retrieveRetrieve slave zone from its master.ZonesApicreate_zonePOST/servers/{server_id}/zonesCreates a new domain, returns the Zone on creation.ZonesApidelete_zoneDELETE/servers/{server_id}/zones/{zone_id}Deletes this zone, all attached metadata and rrsets.ZonesApilist_zoneGET/servers/{server_id}/zones/{zone_id}zone managed by a serverZonesApilist_zonesGET/servers/{server_id}/zonesList all Zones in a serverZonesApinotify_zonePUT/servers/{server_id}/zones/{zone_id}/notifySend a DNS NOTIFY to all slaves.ZonesApipatch_zonePATCH/servers/{server_id}/zones/{zone_id}Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.ZonesApiput_zonePUT/servers/{server_id}/zones/{zone_id}Modifies basic zone data (metadata).ZonesApirectify_zonePUT/servers/{server_id}/zones/{zone_id}/rectifyRectify the zone data.Documentation For ModelsCacheFlushResultCommentConfigSettingCryptokeyErrorMapStatisticItemMetadataRRSetRecordRingStatisticItemSearchResultSearchResultCommentSearchResultRecordSearchResultZoneSearchResultsServerServersSimpleStatisticItemStatisticItemTSIGKeyZoneZonesDocumentation For AuthorizationAPIKeyHeaderType: API keyAPI key parameter name: X-API-KeyLocation: HTTP headerAuthor