Route Table or Default Gateway in Azure

Is there a way to either create a route table for a subnet or to specify the default gateway to be another instance? I can do this with a template, but not the native functions. Am I missing something?

Thanks,

Steven.