Microsoft.Peering peerAsns

The peerAsns resource type can be deployed to: Subscriptions.

To learn about subscription deployments, see Bicep or ARM template

Template format

To create a Microsoft.Peering/peerAsns resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Peering/peerAsns@2021-06-01' = {
  name: 'string'
  properties: {
    peerAsn: int
    peerContactDetail: [
        email: 'string'
        phone: 'string'
        role: 'string'
    peerName: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name string (required)
properties The properties that define a peer's ASN. PeerAsnProperties


Name Description Value
peerAsn The Autonomous System Number (ASN) of the peer. int
peerContactDetail The contact details of the peer. ContactDetail[]
peerName The name of the peer. string


Name Description Value
email The e-mail address of the contact. string
phone The phone number of the contact. string
role The role of the contact. 'Escalation'