Quad partners have recognised New Delhi needs its military ties with Moscow to stand against Beijing.