Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Static",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
},
Expand All @@ -33,72 +33,29 @@
}
}
],
"natRules": [
{
"name": "natRule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
"etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"",
"properties": {
"provisioningState": "Succeeded",
"type": "Static",
"mode": "EgressSnat",
"internalMappings": [
{
"addressSpace": "10.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "50.0.0.0/24"
}
]
}
},
{
"name": "natRule2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
"etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"",
"properties": {
"provisioningState": "Succeeded",
"type": "Static",
"mode": "IngressSnat",
"internalMappings": [
{
"addressSpace": "20.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "30.0.0.0/24"
}
]
}
}
],
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"enableBgpRouteTranslationForNat": false,
"sku": {
"name": "ErGwScale",
"tier": "ErGwScale",
"capacity": 2
"tier": "ErGwScale"
},
"autoScaleConfiguration": {
"bounds": {
"min": 2,
"max": 3
}
},
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"vpnGatewayGeneration": "None",
"enableBgp": false,
"enablePrivateIpAddress": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"vpnClientConfiguration": null,
"bgpSettings": null,
"customRoutes": null,
"allowVirtualWanTraffic": false,
"allowRemoteVnetTraffic": false
"allowRemoteVnetTraffic": false,
"natRules": [],
"virtualNetworkGatewayPolicyGroups": [],
"adminState": "Enabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ipConfigurations": [
{
"properties": {
"privateIPAllocationMethod": "Static",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
},
Expand All @@ -25,55 +25,24 @@
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"natRules": [
{
"name": "natRule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
"properties": {
"type": "Static",
"mode": "EgressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "10.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "50.0.0.0/24"
}
]
}
},
{
"name": "natRule2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
"properties": {
"type": "Static",
"mode": "IngressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "20.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "30.0.0.0/24"
}
]
}
}
],
"enableBgpRouteTranslationForNat": false,
"sku": {
"name": "ErGwScale",
"tier": "ErGwScale"
},
"autoScaleConfiguration": {
"bounds": {
"min": 2,
"max": 3
}
},
"vpnClientConfiguration": null,
"bgpSettings": null,
"allowVirtualWanTraffic": false,
"allowRemoteVnetTraffic": false
"allowRemoteVnetTraffic": false,
"natRules": [],
"virtualNetworkGatewayPolicyGroups": [],
"adminState": "Enabled"
},
"location": "centralus"
}
Expand Down Expand Up @@ -106,69 +75,29 @@
}
}
],
"natRules": [
{
"name": "natRule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
"properties": {
"type": "Static",
"mode": "EgressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "10.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "50.0.0.0/24"
}
]
}
},
{
"name": "natRule2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
"properties": {
"type": "Static",
"mode": "IngressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "20.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "30.0.0.0/24"
}
]
}
}
],
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"enableBgpRouteTranslationForNat": false,
"sku": {
"name": "ErGwScale",
"tier": "ErGwScale",
"capacity": 0
"tier": "ErGwScale"
},
"autoScaleConfiguration": {
"bounds": {
"min": 2,
"max": 3
}
},
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"vpnGatewayGeneration": "None",
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"vpnClientConfiguration": null,
"bgpSettings": null,
"customRoutes": null,
"allowVirtualWanTraffic": false,
"allowRemoteVnetTraffic": false
"allowRemoteVnetTraffic": false,
"natRules": [],
"virtualNetworkGatewayPolicyGroups": [],
"adminState": "Enabled"
}
}
},
Expand All @@ -189,7 +118,7 @@
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Static",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
},
Expand All @@ -199,69 +128,29 @@
}
}
],
"natRules": [
{
"name": "natRule1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule1",
"properties": {
"type": "Static",
"mode": "EgressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "10.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "50.0.0.0/24"
}
]
}
},
{
"name": "natRule2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/natRules/natRule2",
"properties": {
"type": "Static",
"mode": "IngressSnat",
"ipConfigurationId": "",
"internalMappings": [
{
"addressSpace": "20.10.0.0/24"
}
],
"externalMappings": [
{
"addressSpace": "30.0.0.0/24"
}
]
}
}
],
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"enableBgpRouteTranslationForNat": false,
"sku": {
"name": "ErGwScale",
"tier": "ErGwScale",
"capacity": 2
"tier": "ErGwScale"
},
"autoScaleConfiguration": {
"bounds": {
"min": 2,
"max": 3
}
},
"gatewayType": "ExpressRoute",
"vpnType": "PolicyBased",
"enableBgp": false,
"activeActive": false,
"disableIPSecReplayProtection": false,
"enablePrivateIpAddress": false,
"vpnClientConfiguration": null,
"bgpSettings": null,
"customRoutes": null,
"allowVirtualWanTraffic": false,
"allowRemoteVnetTraffic": false
"allowRemoteVnetTraffic": false,
"natRules": [],
"virtualNetworkGatewayPolicyGroups": [],
"adminState": "Enabled"
}
}
}
Expand Down