public static base_response update ( nitro_service client , dnssrvrec resource ) throws Exception { dnssrvrec updateresource = new dnssrvrec ( ) ; updateresource . domain = resource . domain ; updateresource . target = resource . target ; updateresource . priority = resource . priority ; updateresource . weight = resource . weight ; updateresource . port = resource . port ; updateresource . ttl = resource . ttl ; return updateresource . update_resource ( client ) ; }
Use this API to update dnssrvrec .