The best way to anchor a pipe to exterior brick would be by utilizing a HD-1 anchor hold down clamp by bolting the support to the brick surface.

HD-1 Anchor
The best way to anchor a pipe to exterior brick would be by utilizing a HD-1 anchor hold down clamp by bolting the support to the brick surface.
One method of clamping pipes to a wall would be to use the PTP HD-1 hold-down pipe support.
There are numerous ways to mount a pipe to the floor including using u-bolts, hold-down pipe clamps, or pipe shoes. The most applicable of these options depends upon the use of the support whether it be as a load carrying member, guide or anchor.
Hold-Down Pipe Clamp
Hold-down pipe clamps are used in applications where you would like toeither 1.) anchor the pipe in position or 2.) permit axial movement of the pipe. Slide plates, such as PTFE, 25% glass filled or graphite, can be incorporated into the design to reduce the friction between the pipe and clamp.
Hold Down Clamp