I needed to batch update the monitor and stop timeouts in all of my pacemaker resources. I didn't want to rely on the default values, so I wrote this oneliner:
pcs resource | awk '{print $2}' | while read RESOURCE; do pcs resource update $RESOURCE op start timeout=20s op stop timeout=200s op monitor interval=10s timeout=200s; done