Microsoft.Network vpnSites 2019-06-01
Bicep resource definition
The vpnSites resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Network/vpnSites resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/vpnSites@2019-06-01' = {
location: 'string'
name: 'string'
properties: {
addressSpace: {
addressPrefixes: [
'string'
]
}
bgpProperties: {
asn: int
bgpPeeringAddress: 'string'
peerWeight: int
}
deviceProperties: {
deviceModel: 'string'
deviceVendor: 'string'
linkSpeedInMbps: int
}
ipAddress: 'string'
isSecuritySite: bool
siteKey: 'string'
virtualWan: {
id: 'string'
}
vpnSiteLinks: [
{
id: 'string'
name: 'string'
properties: {
bgpProperties: {
asn: int
bgpPeeringAddress: 'string'
}
ipAddress: 'string'
linkProperties: {
linkProviderName: 'string'
linkSpeedInMbps: int
}
}
}
]
}
tags: {
{customized property}: 'string'
}
}
Property values
AddressSpace
Name |
Description |
Value |
addressPrefixes |
A list of address blocks reserved for this virtual network in CIDR notation. |
string[] |
BgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
peerWeight |
The weight added to routes learned from this BGP speaker. |
int |
DeviceProperties
Name |
Description |
Value |
deviceModel |
Model of the device. |
string |
deviceVendor |
Name of the device Vendor. |
string |
linkSpeedInMbps |
Link speed. |
int |
Microsoft.Network/vpnSites
Name |
Description |
Value |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
Properties of the VPN site. |
VpnSiteProperties |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VpnLinkBgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
VpnLinkProviderProperties
Name |
Description |
Value |
linkProviderName |
Name of the link provider. |
string |
linkSpeedInMbps |
Link speed. |
int |
VpnSiteLink
Name |
Description |
Value |
id |
Resource ID. |
string |
name |
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
string |
properties |
Properties of the VPN site link. |
VpnSiteLinkProperties |
VpnSiteLinkProperties
VpnSiteProperties
Name |
Description |
Value |
addressSpace |
The AddressSpace that contains an array of IP address ranges. |
AddressSpace |
bgpProperties |
The set of bgp properties. |
BgpSettings |
deviceProperties |
The device properties. |
DeviceProperties |
ipAddress |
The ip-address for the vpn-site. |
string |
isSecuritySite |
IsSecuritySite flag. |
bool |
siteKey |
The key for vpn-site that can be used for connections. |
string |
virtualWan |
The VirtualWAN to which the vpnSite belongs. |
SubResource |
vpnSiteLinks |
List of all vpn site links |
VpnSiteLink[] |
Quickstart samples
The following quickstart samples deploy this resource type.
Bicep File |
Description |
Creates Virtual WAN resources |
This template allows you to create virtual WAN resources including Virtual WAN, Virtual Hub, VPN Gateway, VPN Site and a VPN Connecton. |
ARM template resource definition
The vpnSites resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Network/vpnSites resource, add the following JSON to your template.
{
"type": "Microsoft.Network/vpnSites",
"apiVersion": "2019-06-01",
"name": "string",
"location": "string",
"properties": {
"addressSpace": {
"addressPrefixes": [ "string" ]
},
"bgpProperties": {
"asn": "int",
"bgpPeeringAddress": "string",
"peerWeight": "int"
},
"deviceProperties": {
"deviceModel": "string",
"deviceVendor": "string",
"linkSpeedInMbps": "int"
},
"ipAddress": "string",
"isSecuritySite": "bool",
"siteKey": "string",
"virtualWan": {
"id": "string"
},
"vpnSiteLinks": [
{
"id": "string",
"name": "string",
"properties": {
"bgpProperties": {
"asn": "int",
"bgpPeeringAddress": "string"
},
"ipAddress": "string",
"linkProperties": {
"linkProviderName": "string",
"linkSpeedInMbps": "int"
}
}
}
]
},
"tags": {
"{customized property}": "string"
}
}
Property values
AddressSpace
Name |
Description |
Value |
addressPrefixes |
A list of address blocks reserved for this virtual network in CIDR notation. |
string[] |
BgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
peerWeight |
The weight added to routes learned from this BGP speaker. |
int |
DeviceProperties
Name |
Description |
Value |
deviceModel |
Model of the device. |
string |
deviceVendor |
Name of the device Vendor. |
string |
linkSpeedInMbps |
Link speed. |
int |
Microsoft.Network/vpnSites
Name |
Description |
Value |
apiVersion |
The api version |
'2019-06-01' |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
Properties of the VPN site. |
VpnSiteProperties |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
type |
The resource type |
'Microsoft.Network/vpnSites' |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VpnLinkBgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
VpnLinkProviderProperties
Name |
Description |
Value |
linkProviderName |
Name of the link provider. |
string |
linkSpeedInMbps |
Link speed. |
int |
VpnSiteLink
Name |
Description |
Value |
id |
Resource ID. |
string |
name |
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
string |
properties |
Properties of the VPN site link. |
VpnSiteLinkProperties |
VpnSiteLinkProperties
VpnSiteProperties
Name |
Description |
Value |
addressSpace |
The AddressSpace that contains an array of IP address ranges. |
AddressSpace |
bgpProperties |
The set of bgp properties. |
BgpSettings |
deviceProperties |
The device properties. |
DeviceProperties |
ipAddress |
The ip-address for the vpn-site. |
string |
isSecuritySite |
IsSecuritySite flag. |
bool |
siteKey |
The key for vpn-site that can be used for connections. |
string |
virtualWan |
The VirtualWAN to which the vpnSite belongs. |
SubResource |
vpnSiteLinks |
List of all vpn site links |
VpnSiteLink[] |
Quickstart templates
The following quickstart templates deploy this resource type.
Template |
Description |
Creates Virtual WAN resources
|
This template allows you to create virtual WAN resources including Virtual WAN, Virtual Hub, VPN Gateway, VPN Site and a VPN Connecton. |
The vpnSites resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Network/vpnSites resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/vpnSites@2019-06-01"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
addressSpace = {
addressPrefixes = [
"string"
]
}
bgpProperties = {
asn = int
bgpPeeringAddress = "string"
peerWeight = int
}
deviceProperties = {
deviceModel = "string"
deviceVendor = "string"
linkSpeedInMbps = int
}
ipAddress = "string"
isSecuritySite = bool
siteKey = "string"
virtualWan = {
id = "string"
}
vpnSiteLinks = [
{
id = "string"
name = "string"
properties = {
bgpProperties = {
asn = int
bgpPeeringAddress = "string"
}
ipAddress = "string"
linkProperties = {
linkProviderName = "string"
linkSpeedInMbps = int
}
}
}
]
}
})
}
Property values
AddressSpace
Name |
Description |
Value |
addressPrefixes |
A list of address blocks reserved for this virtual network in CIDR notation. |
string[] |
BgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
peerWeight |
The weight added to routes learned from this BGP speaker. |
int |
DeviceProperties
Name |
Description |
Value |
deviceModel |
Model of the device. |
string |
deviceVendor |
Name of the device Vendor. |
string |
linkSpeedInMbps |
Link speed. |
int |
Microsoft.Network/vpnSites
Name |
Description |
Value |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
Properties of the VPN site. |
VpnSiteProperties |
tags |
Resource tags |
Dictionary of tag names and values. |
type |
The resource type |
"Microsoft.Network/vpnSites@2019-06-01" |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VpnLinkBgpSettings
Name |
Description |
Value |
asn |
The BGP speaker's ASN. |
int |
bgpPeeringAddress |
The BGP peering address and BGP identifier of this BGP speaker. |
string |
VpnLinkProviderProperties
Name |
Description |
Value |
linkProviderName |
Name of the link provider. |
string |
linkSpeedInMbps |
Link speed. |
int |
VpnSiteLink
Name |
Description |
Value |
id |
Resource ID. |
string |
name |
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
string |
properties |
Properties of the VPN site link. |
VpnSiteLinkProperties |
VpnSiteLinkProperties
VpnSiteProperties
Name |
Description |
Value |
addressSpace |
The AddressSpace that contains an array of IP address ranges. |
AddressSpace |
bgpProperties |
The set of bgp properties. |
BgpSettings |
deviceProperties |
The device properties. |
DeviceProperties |
ipAddress |
The ip-address for the vpn-site. |
string |
isSecuritySite |
IsSecuritySite flag. |
bool |
siteKey |
The key for vpn-site that can be used for connections. |
string |
virtualWan |
The VirtualWAN to which the vpnSite belongs. |
SubResource |
vpnSiteLinks |
List of all vpn site links |
VpnSiteLink[] |