Skip to content

Commit

Permalink
Update examples to include custom routes parameter (#5710)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilambari authored and sergey-shandar committed Apr 19, 2019
1 parent 643dd3c commit c51dd73
Show file tree
Hide file tree
Showing 12 changed files with 106 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down Expand Up @@ -58,6 +63,11 @@
"101.4.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down Expand Up @@ -58,6 +63,11 @@
"101.4.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1
}
}
Expand All @@ -45,6 +50,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 0,
Expand Down Expand Up @@ -73,6 +83,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down Expand Up @@ -70,6 +75,11 @@
"101.3.0.0/16"
]
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
},
"vpnGatewayScaleUnit": 1,
"vpnClientConnectionHealth": {
"vpnClientConnectionsCount": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"asn": 65514,
"bgpPeeringAddress": "10.0.1.30",
"peerWeight": 0
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@
"asn": 65515,
"bgpPeeringAddress": "10.0.0.14",
"peerWeight": 0
}
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
},
{
"name": "vpngw2",
Expand Down Expand Up @@ -99,7 +104,12 @@
"asn": 65515,
"bgpPeeringAddress": "10.1.0.46",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@
"asn": 65514,
"bgpPeeringAddress": "10.0.1.30",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
"asn": 65515,
"bgpPeeringAddress": "10.0.1.30",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
},
"location": "centralus"
}
Expand Down Expand Up @@ -86,7 +91,12 @@
"asn": 65515,
"bgpPeeringAddress": "10.0.1.30",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
},
Expand Down Expand Up @@ -138,7 +148,12 @@
"asn": 65515,
"bgpPeeringAddress": "10.0.1.30",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@
"asn": 65515,
"bgpPeeringAddress": "10.0.0.254",
"peerWeight": 0
}
},
"customRoutes": {
"addressPrefixes": [
"101.168.0.6/32"
]
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c51dd73

Please sign in to comment.