Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The peerAsns resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Peering/peerAsns resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Peering/peerAsns@2020-04-01' = {
name: 'string'
properties: {
peerAsn: int
peerContactDetail: [
{
email: 'string'
phone: 'string'
role: 'string'
}
]
peerName: 'string'
validationState: 'string'
}
}
Property Values
Microsoft.Peering/peerAsns
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | The properties that define a peer's ASN. | PeerAsnProperties |
ContactDetail
Name | Description | Value |
---|---|---|
The e-mail address of the contact. | string | |
phone | The phone number of the contact. | string |
role | The role of the contact. | 'Escalation' 'Noc' 'Other' 'Policy' 'Service' 'Technical' |
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 |
validationState | The validation state of the ASN associated with the peer. | 'Approved' 'Failed' 'None' 'Pending' |
ARM template resource definition
The peerAsns resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Peering/peerAsns resource, add the following JSON to your template.
{
"type": "Microsoft.Peering/peerAsns",
"apiVersion": "2020-04-01",
"name": "string",
"properties": {
"peerAsn": "int",
"peerContactDetail": [
{
"email": "string",
"phone": "string",
"role": "string"
}
],
"peerName": "string",
"validationState": "string"
}
}
Property Values
Microsoft.Peering/peerAsns
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2020-04-01' |
name | The resource name | string (required) |
properties | The properties that define a peer's ASN. | PeerAsnProperties |
type | The resource type | 'Microsoft.Peering/peerAsns' |
ContactDetail
Name | Description | Value |
---|---|---|
The e-mail address of the contact. | string | |
phone | The phone number of the contact. | string |
role | The role of the contact. | 'Escalation' 'Noc' 'Other' 'Policy' 'Service' 'Technical' |
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 |
validationState | The validation state of the ASN associated with the peer. | 'Approved' 'Failed' 'None' 'Pending' |
Usage Examples
Terraform (AzAPI provider) resource definition
The peerAsns resource type can be deployed with operations that target:
- Subscription
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Peering/peerAsns resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Peering/peerAsns@2020-04-01"
name = "string"
parent_id = "string"
body = {
properties = {
peerAsn = int
peerContactDetail = [
{
email = "string"
phone = "string"
role = "string"
}
]
peerName = "string"
validationState = "string"
}
}
}
Property Values
Microsoft.Peering/peerAsns
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | The properties that define a peer's ASN. | PeerAsnProperties |
type | The resource type | "Microsoft.Peering/peerAsns@2020-04-01" |
ContactDetail
Name | Description | Value |
---|---|---|
The e-mail address of the contact. | string | |
phone | The phone number of the contact. | string |
role | The role of the contact. | 'Escalation' 'Noc' 'Other' 'Policy' 'Service' 'Technical' |
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 |
validationState | The validation state of the ASN associated with the peer. | 'Approved' 'Failed' 'None' 'Pending' |