From dc2bf06be6717bee35ee880c6d68702a27ea5282 Mon Sep 17 00:00:00 2001 From: Khushboo Baheti <37917868+Khushboo-Baheti@users.noreply.github.com> Date: Wed, 14 Oct 2020 20:34:29 -0700 Subject: [PATCH] Adding Route Preference property into VpnGateway and P2SGateway (#11119) * commit1 * Fixes Co-authored-by: Khushboo Baheti --- .../stable/2020-07-01/examples/P2SVpnGatewayGet.json | 3 ++- .../examples/P2SVpnGatewayGetConnectionHealth.json | 3 ++- .../stable/2020-07-01/examples/P2SVpnGatewayList.json | 6 ++++-- .../examples/P2SVpnGatewayListByResourceGroup.json | 6 ++++-- .../stable/2020-07-01/examples/P2SVpnGatewayPut.json | 9 ++++++--- .../stable/2020-07-01/examples/P2SVpnGatewayReset.json | 3 ++- .../2020-07-01/examples/P2SVpnGatewayUpdateTags.json | 3 ++- .../stable/2020-07-01/examples/VpnGatewayGet.json | 3 ++- .../stable/2020-07-01/examples/VpnGatewayList.json | 6 ++++-- .../examples/VpnGatewayListByResourceGroup.json | 6 ++++-- .../stable/2020-07-01/examples/VpnGatewayPut.json | 9 ++++++--- .../stable/2020-07-01/examples/VpnGatewayReset.json | 3 ++- .../stable/2020-07-01/examples/VpnGatewayUpdateTags.json | 3 ++- .../Microsoft.Network/stable/2020-07-01/virtualWan.json | 8 ++++++++ 14 files changed, 50 insertions(+), 21 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGet.json index b69156c7ec90..491b79dfb692 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGet.json @@ -49,7 +49,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGetConnectionHealth.json index 1b282d423ab5..7ff89bb0c5bf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGetConnectionHealth.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -49,7 +49,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayList.json index 262f615aece8..a4b229b84366 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayList.json @@ -50,7 +50,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } }, { @@ -95,7 +96,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayListByResourceGroup.json index 65d4715fbe7f..4ed07158e989 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -48,7 +48,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } }, { @@ -91,7 +92,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayPut.json index 8f2ce0d5116b..4702be2f2491 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayPut.json @@ -33,7 +33,8 @@ "customDnsServers": [ "1.1.1.1", "2.2.2.2" - ] + ], + "isRoutingPreferenceInternet": false } } }, @@ -79,7 +80,8 @@ "allocatedIpAddresses": [], "totalIngressBytesTransferred": 0, "totalEgressBytesTransferred": 0 - } + }, + "isRoutingPreferenceInternet": false } } }, @@ -124,7 +126,8 @@ "allocatedIpAddresses": [], "totalIngressBytesTransferred": 0, "totalEgressBytesTransferred": 0 - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayReset.json index e3caaaf58118..bf516d9b343d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayReset.json @@ -50,7 +50,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayUpdateTags.json index cd946d658a08..37d366e48707 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/P2SVpnGatewayUpdateTags.json @@ -58,7 +58,8 @@ ], "totalIngressBytesTransferred": 2000, "totalEgressBytesTransferred": 3000 - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayGet.json index 19ffc30caaf7..ab8e71957983 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayGet.json @@ -137,7 +137,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayList.json index 631f440a5393..234bdfcbf6ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayList.json @@ -138,7 +138,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } }, { @@ -229,7 +230,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayListByResourceGroup.json index 631f440a5393..234bdfcbf6ae 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayListByResourceGroup.json @@ -138,7 +138,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } }, { @@ -229,7 +230,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayPut.json index 1206ffab8a27..0f4d1a0d1f9e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayPut.json @@ -53,7 +53,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } }, @@ -166,7 +167,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } }, @@ -278,7 +280,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayReset.json index 267eff0c44d0..eecf5fe16785 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayReset.json @@ -96,7 +96,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayUpdateTags.json index 3d04158ef377..91b28576fb7f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VpnGatewayUpdateTags.json @@ -104,7 +104,8 @@ ] } ] - } + }, + "isRoutingPreferenceInternet": false } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualWan.json index f26fee76ad38..091d2601890b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualWan.json @@ -5673,6 +5673,10 @@ "items": { "$ref": "#/definitions/VpnGatewayIpConfiguration" } + }, + "isRoutingPreferenceInternet": { + "type": "boolean", + "description": "Enable Routing Preference property for the Public IP Interface of the VpnGateway." } }, "description": "Parameters for VpnGateway." @@ -6640,6 +6644,10 @@ "items": { "type": "string" } + }, + "isRoutingPreferenceInternet": { + "type": "boolean", + "description": "Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway." } }, "description": "Parameters for P2SVpnGateway."