Microsoft.Network virtualRouters/peerings 2020-04-01

Template format

To create a Microsoft.Network/virtualRouters/peerings resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Network/virtualRouters/peerings",
  "apiVersion": "2020-04-01",
  "properties": {
    "peerAsn": "integer",
    "peerIp": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/virtualRouters/peerings object

Name Type Required Value
name string Yes The name of the peering.
type enum Yes peerings

See Set name and type for child resources.
apiVersion enum Yes 2020-04-01
properties object Yes The properties of the Virtual Router Peering. - VirtualRouterPeeringProperties object

VirtualRouterPeeringProperties object

Name Type Required Value
peerAsn integer No Peer ASN.
peerIp string No Peer IP.