Microsoft.Peering peerAsns template reference

Template format

To create a Microsoft.Peering/peerAsns resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Peering/peerAsns",
  "apiVersion": "2020-04-01",
  "properties": {
    "peerAsn": "integer",
    "peerContactDetail": [
        "role": "string",
        "email": "string",
        "phone": "string"
    "peerName": "string",
    "validationState": "string"

Property values

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

Microsoft.Peering/peerAsns object

Name Type Required Value
name string Yes The peer ASN name.
type enum Yes Microsoft.Peering/peerAsns
apiVersion enum Yes 2020-04-01
properties object Yes The properties that define a peer's ASN. - PeerAsnProperties object

PeerAsnProperties object

Name Type Required Value
peerAsn integer No The Autonomous System Number (ASN) of the peer.
peerContactDetail array No The contact details of the peer. - ContactDetail object
peerName string No The name of the peer.
validationState enum No The validation state of the ASN associated with the peer. - None, Pending, Approved, Failed

ContactDetail object

Name Type Required Value
role enum No The role of the contact. - Noc, Policy, Technical, Service, Escalation, Other
email string No The e-mail address of the contact.
phone string No The phone number of the contact.