PSRule.Rules.Azure/docs/examples-vng.json

70 строки
1.7 KiB
JSON
Исходник Обычный вид История

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
2024-06-04 17:20:07 +03:00
"version": "0.27.1.19265",
"templateHash": "17685739923265585206"
}
},
"parameters": {
"name": {
"type": "string",
"metadata": {
"description": "The name of the resource."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "The location resources will be deployed."
}
},
"subnetId": {
"type": "string",
"metadata": {
"description": "The resource ID for the subnet to connect to."
}
},
"pipId": {
"type": "string",
"metadata": {
"description": "The resource ID of the public IP address to use."
}
}
},
"resources": [
{
"type": "Microsoft.Network/virtualNetworkGateways",
2024-06-04 17:20:07 +03:00
"apiVersion": "2023-11-01",
"name": "[parameters('name')]",
"location": "[parameters('location')]",
"properties": {
"gatewayType": "Vpn",
"ipConfigurations": [
{
"name": "default",
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "[parameters('subnetId')]"
},
"publicIPAddress": {
"id": "[parameters('pipId')]"
}
}
}
],
2024-06-04 17:20:07 +03:00
"activeActive": true,
"vpnType": "RouteBased",
"vpnGatewayGeneration": "Generation2",
"sku": {
"name": "VpnGw1AZ",
"tier": "VpnGw1AZ"
}
}
}
]
}