public static base_response create ( nitro_service client , dnskey resource ) throws Exception { dnskey createresource = new dnskey ( ) ; createresource . zonename = resource . zonename ; createresource . keytype = resource . keytype ; createresource . algorithm = resource . algorithm ; createresource . keysize = resource . keysize ; createresource . filenameprefix = resource . filenameprefix ; return createresource . perform_operation ( client , "create" ) ; }
Use this API to create dnskey .