public static base_response add ( nitro_service client , dnskey resource ) throws Exception { dnskey addresource = new dnskey ( ) ; addresource . keyname = resource . keyname ; addresource . publickey = resource . publickey ; addresource . privatekey = resource . privatekey ; addresource . expires = resource . expires ; addresource . units1 = resource . units1 ; addresource . notificationperiod = resource . notificationperiod ; addresource . units2 = resource . units2 ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
Use this API to add dnskey .