diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json index 0a595f408330..aabe8807b466 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayGet.json @@ -26,6 +26,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json index 8a86ad2a512a..c613438517dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayList.json @@ -27,6 +27,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, @@ -58,6 +63,11 @@ "101.4.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json index 8a86ad2a512a..c613438517dd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -27,6 +27,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, @@ -58,6 +63,11 @@ "101.4.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json index 6dd59920548e..6587fb8654be 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayPut.json @@ -21,6 +21,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1 } } @@ -45,6 +50,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 0, @@ -73,6 +83,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 0, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json index 23d94004b44a..988a08d674da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/P2SVpnGatewayUpdateTags.json @@ -35,6 +35,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, @@ -70,6 +75,11 @@ "101.3.0.0/16" ] }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, "vpnGatewayScaleUnit": 1, "vpnClientConnectionHealth": { "vpnClientConnectionsCount": 2, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json index d5d9542c4891..0ff5dcad51b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayGet.json @@ -46,6 +46,11 @@ "asn": 65514, "bgpPeeringAddress": "10.0.1.30", "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json index 7d22946b7f1f..47a08c7cb119 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayList.json @@ -52,8 +52,13 @@ "asn": 65515, "bgpPeeringAddress": "10.0.0.14", "peerWeight": 0 - } - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } + } }, { "name": "vpngw2", @@ -99,7 +104,12 @@ "asn": 65515, "bgpPeeringAddress": "10.1.0.46", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json index d6c72804c9c6..994d5e754674 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayReset.json @@ -47,7 +47,12 @@ "asn": 65514, "bgpPeeringAddress": "10.0.1.30", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json index 3d62d8cd16ec..04de4cc5d65f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdate.json @@ -32,7 +32,12 @@ "asn": 65515, "bgpPeeringAddress": "10.0.1.30", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } }, "location": "centralus" } @@ -86,7 +91,12 @@ "asn": 65515, "bgpPeeringAddress": "10.0.1.30", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } }, @@ -138,7 +148,12 @@ "asn": 65515, "bgpPeeringAddress": "10.0.1.30", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json index 7b916d95e7de..932c26207516 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -54,7 +54,12 @@ "asn": 65515, "bgpPeeringAddress": "10.0.0.254", "peerWeight": 0 - } + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json index c3f530f1c748..1ffa7ea64719 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetworkGateway.json @@ -1677,6 +1677,10 @@ "$ref": "#/definitions/BgpSettings", "description": "Virtual network gateway's BGP speaker settings." }, + "customRoutes": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents the custom routes address space specified by the the customer for virtual network gateway and VpnClient." + }, "resourceGuid": { "type": "string", "description": "The resource GUID property of the VirtualNetworkGateway resource." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json index 9cdd068471fa..3c18a69662a0 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualWan.json @@ -3303,6 +3303,10 @@ "$ref": "./virtualNetwork.json#/definitions/AddressSpace", "description": "The reference of the address space resource which represents Address space for P2S VpnClient." }, + "customRoutes": { + "$ref": "./virtualNetwork.json#/definitions/AddressSpace", + "description": "The reference of the address space resource which represents the custom routes specified by the customer for P2SVpnGateway and P2S VpnClient." + }, "vpnClientConnectionHealth": { "readOnly": true, "$ref": "#/definitions/VpnClientConnectionHealth",