This template creates an Virtual Network Gateway in Azure
A VPN gateway is a specific type of virtual network gateway that is used to send encrypted traffic between an Azure virtual network and an on-premises location over the public Internet. You can also use a VPN gateway to send encrypted traffic between Azure virtual networks over the Microsoft network. Each virtual network can have only one VPN gateway. However, you can create multiple connections to the same VPN gateway. When you create multiple connections to the same VPN gateway, all VPN tunnels share the available gateway bandwidth.
Parameter name | Required | Description |
---|---|---|
StorageAccountName | Yes | The name of the Azure Storage Account where the templates are stored. |
ContainerName | Yes | The Container inside the Storage Account. |
SasToken | Yes | The Shared Access Signature for the Storage Account. |
The name of the Azure Storage Account where the templates are stored.
The Container inside the Storage Account.
The Shared Access Signature for the Storage Account.
Name | Type | Description |
---|---|---|
armTemplate | object | Fully populated template |
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"template": "azuredeploy.json"
},
"parameters": {
"StorageAccountName": {
"value": ""
},
"ContainerName": {
"value": ""
},
"SasToken": {
"value": ""
}
}
}
New-AzResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateFile <path-to-template> -TemplateParameterFile <path-to-templateparameter>
az group deployment create --name <deployment-name> --resource-group <resource-group-name> --template-file <path-to-template> --parameters @<path-to-templateparameterfile>