public static scpolicy get ( nitro_service service , String name ) throws Exception { scpolicy obj = new scpolicy ( ) ; obj . set_name ( name ) ; scpolicy response = ( scpolicy ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch scpolicy resource of given name .