public static ping get ( nitro_service client , ping resource ) throws Exception { resource . validate ( "get" ) ; return ( ( ping [ ] ) resource . get_resources ( client ) ) [ 0 ] ; }
Use this operation to get the status of ping on a given device .