public static base_response update ( nitro_service client , vpnsessionpolicy resource ) throws Exception { vpnsessionpolicy updateresource = new vpnsessionpolicy ( ) ; updateresource . name = resource . name ; updateresource . rule = resource . rule ; updateresource . action = resource . action ; return updateresource . update_resource ( client ) ; }
Use this API to update vpnsessionpolicy .