From 72f2113ff195b1d73b6a4dbbd26648476d1a5dea Mon Sep 17 00:00:00 2001 From: Nilambari Date: Tue, 18 May 2021 15:02:17 -0700 Subject: [PATCH] Add new parameter to enable/disable BGP route translation for NAT VirtualWan VpnGateway --- .../stable/2021-03-01/examples/VpnGatewayGet.json | 3 ++- .../stable/2021-03-01/examples/VpnGatewayList.json | 6 ++++-- .../2021-03-01/examples/VpnGatewayListByResourceGroup.json | 6 ++++-- .../stable/2021-03-01/examples/VpnGatewayPut.json | 3 ++- .../stable/2021-03-01/examples/VpnGatewayReset.json | 3 ++- .../stable/2021-03-01/examples/VpnGatewayUpdateTags.json | 3 ++- .../Microsoft.Network/stable/2021-03-01/virtualWan.json | 4 ++++ 7 files changed, 20 insertions(+), 8 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayGet.json index e3baf8d9c81e..5aca0012d827 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayGet.json @@ -198,7 +198,8 @@ "type": "Microsoft.Network/vpnGateways/natRules" } ], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayList.json index dc397c74a7fe..1db08e04839f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayList.json @@ -199,7 +199,8 @@ "type": "Microsoft.Network/vpnGateways/natRules" } ], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } }, { @@ -292,7 +293,8 @@ ] }, "natRules": [], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayListByResourceGroup.json index dca381b14411..1cb5d821d204 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayListByResourceGroup.json @@ -175,7 +175,8 @@ "type": "Microsoft.Network/vpnGateways/natRules" } ], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } }, { @@ -268,7 +269,8 @@ ] }, "natRules": [], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayPut.json index be1a9397c08c..9aa1808ae385 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayPut.json @@ -79,7 +79,8 @@ } } ], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayReset.json index a7c6a846ea6b..51f9d9197a74 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayReset.json @@ -98,7 +98,8 @@ ] }, "natRules": [], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayUpdateTags.json index 5ef38db162fc..9855046a6f7c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/examples/VpnGatewayUpdateTags.json @@ -106,7 +106,8 @@ ] }, "natRules": [], - "isRoutingPreferenceInternet": false + "isRoutingPreferenceInternet": false, + "enableBgpRouteTranslationForNat": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/virtualWan.json index 5bb1b53f7af4..74e17d3f2910 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-03-01/virtualWan.json @@ -6122,6 +6122,10 @@ "$ref": "#/definitions/VpnGatewayIpConfiguration" } }, + "enableBgpRouteTranslationForNat": { + "type": "boolean", + "description": "Enable BGP routes translation for NAT on this VpnGateway." + }, "isRoutingPreferenceInternet": { "type": "boolean", "description": "Enable Routing Preference property for the Public IP Interface of the VpnGateway."