Microsoft.Peering peerAsns 2021-01-01

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": "2021-01-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


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The peer ASN name.
type enum Yes For JSON - Microsoft.Peering/peerAsns
apiVersion enum Yes For JSON - 2021-01-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.