Bicep resource definition
The connections 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/connections resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Network/connections@2016-09-01' = {
etag: 'string'
location: 'string'
name: 'string'
properties: {
authorizationKey: 'string'
connectionType: 'string'
enableBgp: bool
localNetworkGateway2: {
etag: 'string'
id: 'string'
location: 'string'
properties: {
bgpSettings: {
asn: int
bgpPeeringAddress: 'string'
peerWeight: int
}
gatewayIpAddress: 'string'
localNetworkAddressSpace: {
addressPrefixes: [
'string'
]
}
resourceGuid: 'string'
}
tags: {
{customized property}: 'string'
}
}
peer: {
id: 'string'
}
resourceGuid: 'string'
routingWeight: int
sharedKey: 'string'
virtualNetworkGateway1: {
etag: 'string'
id: 'string'
location: 'string'
properties: {
activeActive: bool
bgpSettings: {
asn: int
bgpPeeringAddress: 'string'
peerWeight: int
}
enableBgp: bool
gatewayDefaultSite: {
id: 'string'
}
gatewayType: 'string'
ipConfigurations: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
privateIPAllocationMethod: 'string'
publicIPAddress: {
id: 'string'
}
subnet: {
id: 'string'
}
}
}
]
resourceGuid: 'string'
sku: {
capacity: int
name: 'string'
tier: 'string'
}
vpnClientConfiguration: {
vpnClientAddressPool: {
addressPrefixes: [
'string'
]
}
vpnClientRevokedCertificates: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
thumbprint: 'string'
}
}
]
vpnClientRootCertificates: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
publicCertData: 'string'
}
}
]
}
vpnType: 'string'
}
tags: {
{customized property}: 'string'
}
}
virtualNetworkGateway2: {
etag: 'string'
id: 'string'
location: 'string'
properties: {
activeActive: bool
bgpSettings: {
asn: int
bgpPeeringAddress: 'string'
peerWeight: int
}
enableBgp: bool
gatewayDefaultSite: {
id: 'string'
}
gatewayType: 'string'
ipConfigurations: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
privateIPAllocationMethod: 'string'
publicIPAddress: {
id: 'string'
}
subnet: {
id: 'string'
}
}
}
]
resourceGuid: 'string'
sku: {
capacity: int
name: 'string'
tier: 'string'
}
vpnClientConfiguration: {
vpnClientAddressPool: {
addressPrefixes: [
'string'
]
}
vpnClientRevokedCertificates: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
thumbprint: 'string'
}
}
]
vpnClientRootCertificates: [
{
etag: 'string'
id: 'string'
name: 'string'
properties: {
publicCertData: 'string'
}
}
]
}
vpnType: 'string'
}
tags: {
{customized property}: 'string'
}
}
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Network/connections
Name |
Description |
Value |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
VirtualNetworkGatewayConnection properties |
VirtualNetworkGatewayConnectionPropertiesFormat (required) |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
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 |
LocalNetworkGateway
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
LocalNetworkGateway properties |
LocalNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
bgpSettings |
Local network gateway's BGP speaker settings. |
BgpSettings |
gatewayIpAddress |
IP address of local network gateway. |
string |
localNetworkAddressSpace |
Local network site address space. |
AddressSpace (required) |
resourceGuid |
The resource GUID property of the LocalNetworkGateway resource. |
string |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VirtualNetworkGateway
Name |
Description |
Value |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
VirtualNetworkGateway properties |
VirtualNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
authorizationKey |
The authorizationKey. |
string |
connectionType |
Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. |
'ExpressRoute' 'IPsec' 'Vnet2Vnet' 'VPNClient' (required) |
enableBgp |
EnableBgp flag |
bool |
localNetworkGateway2 |
A common class for general resource information |
LocalNetworkGateway |
peer |
The reference to peerings resource. |
SubResource |
resourceGuid |
The resource GUID property of the VirtualNetworkGatewayConnection resource. |
string |
routingWeight |
The routing weight. |
int |
sharedKey |
The IPSec shared key. |
string |
virtualNetworkGateway1 |
A common class for general resource information |
VirtualNetworkGateway (required) |
virtualNetworkGateway2 |
A common class for general resource information |
VirtualNetworkGateway |
VirtualNetworkGatewayIPConfiguration
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 VirtualNetworkGatewayIPConfiguration |
VirtualNetworkGatewayIPConfigurationPropertiesFormat |
Name |
Description |
Value |
privateIPAllocationMethod |
The private IP allocation method. Possible values are: 'Static' and 'Dynamic'. |
'Dynamic' 'Static' |
publicIPAddress |
The reference of the public IP resource. |
SubResource (required) |
subnet |
The reference of the subnet resource. |
SubResource (required) |
Name |
Description |
Value |
activeActive |
ActiveActive flag |
bool |
bgpSettings |
Virtual network gateway's BGP speaker settings. |
BgpSettings |
enableBgp |
Whether BGP is enabled for this virtual network gateway or not. |
bool |
gatewayDefaultSite |
The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. |
SubResource |
gatewayType |
The type of this virtual network gateway. Possible values are: 'Vpn' and 'ExpressRoute'. |
'ExpressRoute' 'Vpn' (required) |
ipConfigurations |
IP configurations for virtual network gateway. |
VirtualNetworkGatewayIPConfiguration[] (required) |
resourceGuid |
The resource GUID property of the VirtualNetworkGateway resource. |
string |
sku |
The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. |
VirtualNetworkGatewaySku |
vpnClientConfiguration |
The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. |
VpnClientConfiguration |
vpnType |
The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'. |
'PolicyBased' 'RouteBased' (required) |
VirtualNetworkGatewaySku
Name |
Description |
Value |
capacity |
The capacity. |
int |
name |
Gateway SKU name. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
tier |
Gateway SKU tier. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
VpnClientConfiguration
Name |
Description |
Value |
vpnClientAddressPool |
The reference of the address space resource which represents Address space for P2S VpnClient. |
AddressSpace |
vpnClientRevokedCertificates |
VpnClientRevokedCertificate for Virtual network gateway. |
VpnClientRevokedCertificate[] |
vpnClientRootCertificates |
VpnClientRootCertificate for virtual network gateway. |
VpnClientRootCertificate[] |
VpnClientRevokedCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 revoked VPN client certificate of virtual network gateway. |
VpnClientRevokedCertificatePropertiesFormat |
Name |
Description |
Value |
thumbprint |
The revoked VPN client certificate thumbprint. |
string |
VpnClientRootCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 SSL certificates of application gateway |
VpnClientRootCertificatePropertiesFormat (required) |
Name |
Description |
Value |
publicCertData |
The certificate public data. |
string (required) |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File |
Description |
Create a BGP VNET to VNET connection |
This template allows you to connect two VNETs using Virtual Network Gateways and BGP |
Site-to-Site VPN with active-active VPN Gateways with BGP |
This template allows you to deploy a site-to-site VPN between two VNets with VPN Gateways in configuration active-active with BGP. Each Azure VPN Gateway resolves the FQDN of the remote peers to determine the public IP of the remote VPN Gateway. Template runs as expected in Azure regions with availability zones. |
ARM template resource definition
The connections 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/connections resource, add the following JSON to your template.
{
"type": "Microsoft.Network/connections",
"apiVersion": "2016-09-01",
"name": "string",
"etag": "string",
"location": "string",
"properties": {
"authorizationKey": "string",
"connectionType": "string",
"enableBgp": "bool",
"localNetworkGateway2": {
"etag": "string",
"id": "string",
"location": "string",
"properties": {
"bgpSettings": {
"asn": "int",
"bgpPeeringAddress": "string",
"peerWeight": "int"
},
"gatewayIpAddress": "string",
"localNetworkAddressSpace": {
"addressPrefixes": [ "string" ]
},
"resourceGuid": "string"
},
"tags": {
"{customized property}": "string"
}
},
"peer": {
"id": "string"
},
"resourceGuid": "string",
"routingWeight": "int",
"sharedKey": "string",
"virtualNetworkGateway1": {
"etag": "string",
"id": "string",
"location": "string",
"properties": {
"activeActive": "bool",
"bgpSettings": {
"asn": "int",
"bgpPeeringAddress": "string",
"peerWeight": "int"
},
"enableBgp": "bool",
"gatewayDefaultSite": {
"id": "string"
},
"gatewayType": "string",
"ipConfigurations": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"privateIPAllocationMethod": "string",
"publicIPAddress": {
"id": "string"
},
"subnet": {
"id": "string"
}
}
}
],
"resourceGuid": "string",
"sku": {
"capacity": "int",
"name": "string",
"tier": "string"
},
"vpnClientConfiguration": {
"vpnClientAddressPool": {
"addressPrefixes": [ "string" ]
},
"vpnClientRevokedCertificates": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"thumbprint": "string"
}
}
],
"vpnClientRootCertificates": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"publicCertData": "string"
}
}
]
},
"vpnType": "string"
},
"tags": {
"{customized property}": "string"
}
},
"virtualNetworkGateway2": {
"etag": "string",
"id": "string",
"location": "string",
"properties": {
"activeActive": "bool",
"bgpSettings": {
"asn": "int",
"bgpPeeringAddress": "string",
"peerWeight": "int"
},
"enableBgp": "bool",
"gatewayDefaultSite": {
"id": "string"
},
"gatewayType": "string",
"ipConfigurations": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"privateIPAllocationMethod": "string",
"publicIPAddress": {
"id": "string"
},
"subnet": {
"id": "string"
}
}
}
],
"resourceGuid": "string",
"sku": {
"capacity": "int",
"name": "string",
"tier": "string"
},
"vpnClientConfiguration": {
"vpnClientAddressPool": {
"addressPrefixes": [ "string" ]
},
"vpnClientRevokedCertificates": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"thumbprint": "string"
}
}
],
"vpnClientRootCertificates": [
{
"etag": "string",
"id": "string",
"name": "string",
"properties": {
"publicCertData": "string"
}
}
]
},
"vpnType": "string"
},
"tags": {
"{customized property}": "string"
}
}
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Network/connections
Name |
Description |
Value |
apiVersion |
The api version |
'2016-09-01' |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
VirtualNetworkGatewayConnection properties |
VirtualNetworkGatewayConnectionPropertiesFormat (required) |
tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
type |
The resource type |
'Microsoft.Network/connections' |
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 |
LocalNetworkGateway
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
LocalNetworkGateway properties |
LocalNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
bgpSettings |
Local network gateway's BGP speaker settings. |
BgpSettings |
gatewayIpAddress |
IP address of local network gateway. |
string |
localNetworkAddressSpace |
Local network site address space. |
AddressSpace (required) |
resourceGuid |
The resource GUID property of the LocalNetworkGateway resource. |
string |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VirtualNetworkGateway
Name |
Description |
Value |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
VirtualNetworkGateway properties |
VirtualNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
authorizationKey |
The authorizationKey. |
string |
connectionType |
Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. |
'ExpressRoute' 'IPsec' 'Vnet2Vnet' 'VPNClient' (required) |
enableBgp |
EnableBgp flag |
bool |
localNetworkGateway2 |
A common class for general resource information |
LocalNetworkGateway |
peer |
The reference to peerings resource. |
SubResource |
resourceGuid |
The resource GUID property of the VirtualNetworkGatewayConnection resource. |
string |
routingWeight |
The routing weight. |
int |
sharedKey |
The IPSec shared key. |
string |
virtualNetworkGateway1 |
A common class for general resource information |
VirtualNetworkGateway (required) |
virtualNetworkGateway2 |
A common class for general resource information |
VirtualNetworkGateway |
VirtualNetworkGatewayIPConfiguration
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 VirtualNetworkGatewayIPConfiguration |
VirtualNetworkGatewayIPConfigurationPropertiesFormat |
Name |
Description |
Value |
privateIPAllocationMethod |
The private IP allocation method. Possible values are: 'Static' and 'Dynamic'. |
'Dynamic' 'Static' |
publicIPAddress |
The reference of the public IP resource. |
SubResource (required) |
subnet |
The reference of the subnet resource. |
SubResource (required) |
Name |
Description |
Value |
activeActive |
ActiveActive flag |
bool |
bgpSettings |
Virtual network gateway's BGP speaker settings. |
BgpSettings |
enableBgp |
Whether BGP is enabled for this virtual network gateway or not. |
bool |
gatewayDefaultSite |
The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. |
SubResource |
gatewayType |
The type of this virtual network gateway. Possible values are: 'Vpn' and 'ExpressRoute'. |
'ExpressRoute' 'Vpn' (required) |
ipConfigurations |
IP configurations for virtual network gateway. |
VirtualNetworkGatewayIPConfiguration[] (required) |
resourceGuid |
The resource GUID property of the VirtualNetworkGateway resource. |
string |
sku |
The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. |
VirtualNetworkGatewaySku |
vpnClientConfiguration |
The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. |
VpnClientConfiguration |
vpnType |
The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'. |
'PolicyBased' 'RouteBased' (required) |
VirtualNetworkGatewaySku
Name |
Description |
Value |
capacity |
The capacity. |
int |
name |
Gateway SKU name. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
tier |
Gateway SKU tier. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
VpnClientConfiguration
Name |
Description |
Value |
vpnClientAddressPool |
The reference of the address space resource which represents Address space for P2S VpnClient. |
AddressSpace |
vpnClientRevokedCertificates |
VpnClientRevokedCertificate for Virtual network gateway. |
VpnClientRevokedCertificate[] |
vpnClientRootCertificates |
VpnClientRootCertificate for virtual network gateway. |
VpnClientRootCertificate[] |
VpnClientRevokedCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 revoked VPN client certificate of virtual network gateway. |
VpnClientRevokedCertificatePropertiesFormat |
Name |
Description |
Value |
thumbprint |
The revoked VPN client certificate thumbprint. |
string |
VpnClientRootCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 SSL certificates of application gateway |
VpnClientRootCertificatePropertiesFormat (required) |
Name |
Description |
Value |
publicCertData |
The certificate public data. |
string (required) |
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
The connections 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/connections resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/connections@2016-09-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = "string"
properties = {
authorizationKey = "string"
connectionType = "string"
enableBgp = bool
localNetworkGateway2 = {
etag = "string"
id = "string"
location = "string"
properties = {
bgpSettings = {
asn = int
bgpPeeringAddress = "string"
peerWeight = int
}
gatewayIpAddress = "string"
localNetworkAddressSpace = {
addressPrefixes = [
"string"
]
}
resourceGuid = "string"
}
tags = {
{customized property} = "string"
}
}
peer = {
id = "string"
}
resourceGuid = "string"
routingWeight = int
sharedKey = "string"
virtualNetworkGateway1 = {
etag = "string"
id = "string"
location = "string"
properties = {
activeActive = bool
bgpSettings = {
asn = int
bgpPeeringAddress = "string"
peerWeight = int
}
enableBgp = bool
gatewayDefaultSite = {
id = "string"
}
gatewayType = "string"
ipConfigurations = [
{
etag = "string"
id = "string"
name = "string"
properties = {
privateIPAllocationMethod = "string"
publicIPAddress = {
id = "string"
}
subnet = {
id = "string"
}
}
}
]
resourceGuid = "string"
sku = {
capacity = int
name = "string"
tier = "string"
}
vpnClientConfiguration = {
vpnClientAddressPool = {
addressPrefixes = [
"string"
]
}
vpnClientRevokedCertificates = [
{
etag = "string"
id = "string"
name = "string"
properties = {
thumbprint = "string"
}
}
]
vpnClientRootCertificates = [
{
etag = "string"
id = "string"
name = "string"
properties = {
publicCertData = "string"
}
}
]
}
vpnType = "string"
}
tags = {
{customized property} = "string"
}
}
virtualNetworkGateway2 = {
etag = "string"
id = "string"
location = "string"
properties = {
activeActive = bool
bgpSettings = {
asn = int
bgpPeeringAddress = "string"
peerWeight = int
}
enableBgp = bool
gatewayDefaultSite = {
id = "string"
}
gatewayType = "string"
ipConfigurations = [
{
etag = "string"
id = "string"
name = "string"
properties = {
privateIPAllocationMethod = "string"
publicIPAddress = {
id = "string"
}
subnet = {
id = "string"
}
}
}
]
resourceGuid = "string"
sku = {
capacity = int
name = "string"
tier = "string"
}
vpnClientConfiguration = {
vpnClientAddressPool = {
addressPrefixes = [
"string"
]
}
vpnClientRevokedCertificates = [
{
etag = "string"
id = "string"
name = "string"
properties = {
thumbprint = "string"
}
}
]
vpnClientRootCertificates = [
{
etag = "string"
id = "string"
name = "string"
properties = {
publicCertData = "string"
}
}
]
}
vpnType = "string"
}
tags = {
{customized property} = "string"
}
}
}
}
}
Property Values
Microsoft.Network/connections
Name |
Description |
Value |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
location |
Resource location. |
string |
name |
The resource name |
string (required) |
properties |
VirtualNetworkGatewayConnection properties |
VirtualNetworkGatewayConnectionPropertiesFormat (required) |
tags |
Resource tags |
Dictionary of tag names and values. |
type |
The resource type |
"Microsoft.Network/connections@2016-09-01" |
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 |
LocalNetworkGateway
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
LocalNetworkGateway properties |
LocalNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
bgpSettings |
Local network gateway's BGP speaker settings. |
BgpSettings |
gatewayIpAddress |
IP address of local network gateway. |
string |
localNetworkAddressSpace |
Local network site address space. |
AddressSpace (required) |
resourceGuid |
The resource GUID property of the LocalNetworkGateway resource. |
string |
SubResource
Name |
Description |
Value |
id |
Resource ID. |
string |
VirtualNetworkGateway
Name |
Description |
Value |
etag |
Gets a unique read-only string that changes whenever the resource is updated. |
string |
id |
Resource ID. |
string |
location |
Resource location. |
string |
properties |
VirtualNetworkGateway properties |
VirtualNetworkGatewayPropertiesFormat (required) |
tags |
Resource tags. |
ResourceTags |
Name |
Description |
Value |
authorizationKey |
The authorizationKey. |
string |
connectionType |
Gateway connection type. Possible values are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. |
'ExpressRoute' 'IPsec' 'Vnet2Vnet' 'VPNClient' (required) |
enableBgp |
EnableBgp flag |
bool |
localNetworkGateway2 |
A common class for general resource information |
LocalNetworkGateway |
peer |
The reference to peerings resource. |
SubResource |
resourceGuid |
The resource GUID property of the VirtualNetworkGatewayConnection resource. |
string |
routingWeight |
The routing weight. |
int |
sharedKey |
The IPSec shared key. |
string |
virtualNetworkGateway1 |
A common class for general resource information |
VirtualNetworkGateway (required) |
virtualNetworkGateway2 |
A common class for general resource information |
VirtualNetworkGateway |
VirtualNetworkGatewayIPConfiguration
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 VirtualNetworkGatewayIPConfiguration |
VirtualNetworkGatewayIPConfigurationPropertiesFormat |
Name |
Description |
Value |
privateIPAllocationMethod |
The private IP allocation method. Possible values are: 'Static' and 'Dynamic'. |
'Dynamic' 'Static' |
publicIPAddress |
The reference of the public IP resource. |
SubResource (required) |
subnet |
The reference of the subnet resource. |
SubResource (required) |
Name |
Description |
Value |
activeActive |
ActiveActive flag |
bool |
bgpSettings |
Virtual network gateway's BGP speaker settings. |
BgpSettings |
enableBgp |
Whether BGP is enabled for this virtual network gateway or not. |
bool |
gatewayDefaultSite |
The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting. |
SubResource |
gatewayType |
The type of this virtual network gateway. Possible values are: 'Vpn' and 'ExpressRoute'. |
'ExpressRoute' 'Vpn' (required) |
ipConfigurations |
IP configurations for virtual network gateway. |
VirtualNetworkGatewayIPConfiguration[] (required) |
resourceGuid |
The resource GUID property of the VirtualNetworkGateway resource. |
string |
sku |
The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway. |
VirtualNetworkGatewaySku |
vpnClientConfiguration |
The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations. |
VpnClientConfiguration |
vpnType |
The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'. |
'PolicyBased' 'RouteBased' (required) |
VirtualNetworkGatewaySku
Name |
Description |
Value |
capacity |
The capacity. |
int |
name |
Gateway SKU name. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
tier |
Gateway SKU tier. Possible values are: 'Basic', 'HighPerformance','Standard', and 'UltraPerformance'. |
'Basic' 'HighPerformance' 'Standard' 'UltraPerformance' (required) |
VpnClientConfiguration
Name |
Description |
Value |
vpnClientAddressPool |
The reference of the address space resource which represents Address space for P2S VpnClient. |
AddressSpace |
vpnClientRevokedCertificates |
VpnClientRevokedCertificate for Virtual network gateway. |
VpnClientRevokedCertificate[] |
vpnClientRootCertificates |
VpnClientRootCertificate for virtual network gateway. |
VpnClientRootCertificate[] |
VpnClientRevokedCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 revoked VPN client certificate of virtual network gateway. |
VpnClientRevokedCertificatePropertiesFormat |
Name |
Description |
Value |
thumbprint |
The revoked VPN client certificate thumbprint. |
string |
VpnClientRootCertificate
Name |
Description |
Value |
etag |
A unique read-only string that changes whenever the resource is updated. |
string |
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 SSL certificates of application gateway |
VpnClientRootCertificatePropertiesFormat (required) |
Name |
Description |
Value |
publicCertData |
The certificate public data. |
string (required) |
Usage Examples
Azure Verified Modules
The following Azure Verified Modules can be used to deploy this resource type.