An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
Hi ,
If you see the code in that link itself then you can find that there is resource block to create subnets , please find the attached image for ref
Kindly accept answer if it helps , Thanks!