This is Phormium colensoi, also known as Phormium cookianum, mountain flax, lesser New Zealand flax, and wharariki. This perennial flax likes to live in the sun or light shade. It blooms in the summer, but draws interest even in the Winter. USDA Hardiness Zones 8b to 10