Microsoft.Peering peerAsns 2019-09-01-preview

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@2019-09-01-preview' = {
  name: 'string'
  properties: {
    peerAsn: int
    peerContactInfo: {
      emails: [
        'string'
      ]
      phone: [
        'string'
      ]
    }
    peerName: 'string'
    validationState: 'string'
  }
}

Property values

peerAsns

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Peering/peerAsns'
apiVersion The resource api version

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

PeerAsnProperties

Name Description Value
peerAsn The Autonomous System Number (ASN) of the peer. int
peerContactInfo The contact information of the peer. ContactInfo
peerName The name of the peer. string
validationState The validation state of the ASN associated with the peer. 'Approved'
'Failed'
'None'
'Pending'

ContactInfo

Name Description Value
emails The list of email addresses. string[]
phone The list of contact numbers. string[]