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