public static base_response add ( nitro_service client , transformpolicy resource ) throws Exception { transformpolicy addresource = new transformpolicy ( ) ; addresource . name = resource . name ; addresource . rule = resource . rule ; addresource . profilename = resource . profilename ; addresource . comment = resource . comment ; addresource . logaction = resource . logaction ; return addresource . add_resource ( client ) ; }
Use this API to add transformpolicy .