Vpc and subnet

Creating a vpc and subnet with minimal parameters

resources:
  - type: "Microsoft.Network/virtualNetworks"
    name: vnet1
    props:
      resource_group: rg1
      address_space:
        address_prefixes:
          - "10.0.0.0/16"
      subnets:
        - name: subnet1
          address_prefix: "10.0.1.0/24"

Last updated

Was this helpful?