Skip to content

Commit 3b8bd3d

Browse files
Khushboo-BahetiKhushboo Baheti
andauthored
Updating VpnGateway examples for bgpSettings (#9656)
* Updating VpnGateway examples * prettier Co-authored-by: Khushboo Baheti <[email protected]>
1 parent 870cc67 commit 3b8bd3d

File tree

6 files changed

+258
-10
lines changed

6 files changed

+258
-10
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayGet.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,33 @@
110110
"bgpSettings": {
111111
"asn": 65514,
112112
"bgpPeeringAddress": "10.0.1.30",
113-
"peerWeight": 0
113+
"peerWeight": 0,
114+
"bgpPeeringAddresses": [
115+
{
116+
"ipconfigurationId": "Instance0",
117+
"defaultBgpIpAddresses": [
118+
"10.30.0.4"
119+
],
120+
"customBgpIpAddresses": [
121+
"169.254.21.5"
122+
],
123+
"tunnelIpAddresses": [
124+
"104.208.48.178"
125+
]
126+
},
127+
{
128+
"ipconfigurationId": "Instance1",
129+
"defaultBgpIpAddresses": [
130+
"10.30.0.5"
131+
],
132+
"customBgpIpAddresses": [
133+
"169.254.21.10"
134+
],
135+
"tunnelIpAddresses": [
136+
"104.208.48.179"
137+
]
138+
}
139+
]
114140
}
115141
}
116142
}

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayList.json

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,33 @@
111111
"bgpSettings": {
112112
"asn": 65514,
113113
"bgpPeeringAddress": "10.0.1.30",
114-
"peerWeight": 0
114+
"peerWeight": 0,
115+
"bgpPeeringAddresses": [
116+
{
117+
"ipconfigurationId": "Instance0",
118+
"defaultBgpIpAddresses": [
119+
"10.30.0.4"
120+
],
121+
"customBgpIpAddresses": [
122+
"169.254.21.5"
123+
],
124+
"tunnelIpAddresses": [
125+
"104.208.48.178"
126+
]
127+
},
128+
{
129+
"ipconfigurationId": "Instance1",
130+
"defaultBgpIpAddresses": [
131+
"10.30.0.5"
132+
],
133+
"customBgpIpAddresses": [
134+
"169.254.21.10"
135+
],
136+
"tunnelIpAddresses": [
137+
"104.208.48.179"
138+
]
139+
}
140+
]
115141
}
116142
}
117143
},
@@ -176,7 +202,33 @@
176202
"bgpSettings": {
177203
"asn": 65514,
178204
"bgpPeeringAddress": "10.0.1.30",
179-
"peerWeight": 0
205+
"peerWeight": 0,
206+
"bgpPeeringAddresses": [
207+
{
208+
"ipconfigurationId": "Instance0",
209+
"defaultBgpIpAddresses": [
210+
"10.30.0.4"
211+
],
212+
"customBgpIpAddresses": [
213+
"169.254.21.5"
214+
],
215+
"tunnelIpAddresses": [
216+
"104.208.48.178"
217+
]
218+
},
219+
{
220+
"ipconfigurationId": "Instance1",
221+
"defaultBgpIpAddresses": [
222+
"10.30.0.5"
223+
],
224+
"customBgpIpAddresses": [
225+
"169.254.21.10"
226+
],
227+
"tunnelIpAddresses": [
228+
"104.208.48.179"
229+
]
230+
}
231+
]
180232
}
181233
}
182234
}

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayListByResourceGroup.json

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,33 @@
111111
"bgpSettings": {
112112
"asn": 65514,
113113
"bgpPeeringAddress": "10.0.1.30",
114-
"peerWeight": 0
114+
"peerWeight": 0,
115+
"bgpPeeringAddresses": [
116+
{
117+
"ipconfigurationId": "Instance0",
118+
"defaultBgpIpAddresses": [
119+
"10.30.0.4"
120+
],
121+
"customBgpIpAddresses": [
122+
"169.254.21.5"
123+
],
124+
"tunnelIpAddresses": [
125+
"104.208.48.178"
126+
]
127+
},
128+
{
129+
"ipconfigurationId": "Instance1",
130+
"defaultBgpIpAddresses": [
131+
"10.30.0.5"
132+
],
133+
"customBgpIpAddresses": [
134+
"169.254.21.10"
135+
],
136+
"tunnelIpAddresses": [
137+
"104.208.48.179"
138+
]
139+
}
140+
]
115141
}
116142
}
117143
},
@@ -176,7 +202,33 @@
176202
"bgpSettings": {
177203
"asn": 65514,
178204
"bgpPeeringAddress": "10.0.1.30",
179-
"peerWeight": 0
205+
"peerWeight": 0,
206+
"bgpPeeringAddresses": [
207+
{
208+
"ipconfigurationId": "Instance0",
209+
"defaultBgpIpAddresses": [
210+
"10.30.0.4"
211+
],
212+
"customBgpIpAddresses": [
213+
"169.254.21.5"
214+
],
215+
"tunnelIpAddresses": [
216+
"104.208.48.178"
217+
]
218+
},
219+
{
220+
"ipconfigurationId": "Instance1",
221+
"defaultBgpIpAddresses": [
222+
"10.30.0.5"
223+
],
224+
"customBgpIpAddresses": [
225+
"169.254.21.10"
226+
],
227+
"tunnelIpAddresses": [
228+
"104.208.48.179"
229+
]
230+
}
231+
]
180232
}
181233
}
182234
}

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayPut.json

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,21 @@
3838
],
3939
"bgpSettings": {
4040
"asn": 65515,
41-
"peerWeight": 0
41+
"peerWeight": 0,
42+
"bgpPeeringAddresses": [
43+
{
44+
"ipconfigurationId": "Instance0",
45+
"customBgpIpAddresses": [
46+
"169.254.21.5"
47+
]
48+
},
49+
{
50+
"ipconfigurationId": "Instance1",
51+
"customBgpIpAddresses": [
52+
"169.254.21.10"
53+
]
54+
}
55+
]
4256
}
4357
}
4458
}
@@ -125,7 +139,33 @@
125139
"bgpSettings": {
126140
"asn": 65514,
127141
"bgpPeeringAddress": "10.0.1.30",
128-
"peerWeight": 0
142+
"peerWeight": 0,
143+
"bgpPeeringAddresses": [
144+
{
145+
"ipconfigurationId": "Instance0",
146+
"defaultBgpIpAddresses": [
147+
"10.30.0.4"
148+
],
149+
"customBgpIpAddresses": [
150+
"169.254.21.5"
151+
],
152+
"tunnelIpAddresses": [
153+
"104.208.48.178"
154+
]
155+
},
156+
{
157+
"ipconfigurationId": "Instance1",
158+
"defaultBgpIpAddresses": [
159+
"10.30.0.5"
160+
],
161+
"customBgpIpAddresses": [
162+
"169.254.21.10"
163+
],
164+
"tunnelIpAddresses": [
165+
"104.208.48.179"
166+
]
167+
}
168+
]
129169
}
130170
}
131171
}
@@ -211,7 +251,33 @@
211251
"bgpSettings": {
212252
"asn": 65514,
213253
"bgpPeeringAddress": "10.0.1.30",
214-
"peerWeight": 0
254+
"peerWeight": 0,
255+
"bgpPeeringAddresses": [
256+
{
257+
"ipconfigurationId": "Instance0",
258+
"defaultBgpIpAddresses": [
259+
"10.30.0.4"
260+
],
261+
"customBgpIpAddresses": [
262+
"169.254.21.5"
263+
],
264+
"tunnelIpAddresses": [
265+
"104.208.48.178"
266+
]
267+
},
268+
{
269+
"ipconfigurationId": "Instance1",
270+
"defaultBgpIpAddresses": [
271+
"10.30.0.5"
272+
],
273+
"customBgpIpAddresses": [
274+
"169.254.21.10"
275+
],
276+
"tunnelIpAddresses": [
277+
"104.208.48.179"
278+
]
279+
}
280+
]
215281
}
216282
}
217283
}

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayReset.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,33 @@
6969
"bgpSettings": {
7070
"asn": 65514,
7171
"bgpPeeringAddress": "10.0.1.30",
72-
"peerWeight": 0
72+
"peerWeight": 0,
73+
"bgpPeeringAddresses": [
74+
{
75+
"ipconfigurationId": "Instance0",
76+
"defaultBgpIpAddresses": [
77+
"10.30.0.4"
78+
],
79+
"customBgpIpAddresses": [
80+
"169.254.21.5"
81+
],
82+
"tunnelIpAddresses": [
83+
"104.208.48.178"
84+
]
85+
},
86+
{
87+
"ipconfigurationId": "Instance1",
88+
"defaultBgpIpAddresses": [
89+
"10.30.0.5"
90+
],
91+
"customBgpIpAddresses": [
92+
"169.254.21.10"
93+
],
94+
"tunnelIpAddresses": [
95+
"104.208.48.179"
96+
]
97+
}
98+
]
7399
}
74100
}
75101
}

specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/examples/VpnGatewayUpdateTags.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,33 @@
7676
"bgpSettings": {
7777
"asn": 65515,
7878
"bgpPeeringAddress": "10.0.1.30",
79-
"peerWeight": 0
79+
"peerWeight": 0,
80+
"bgpPeeringAddresses": [
81+
{
82+
"ipconfigurationId": "Instance0",
83+
"defaultBgpIpAddresses": [
84+
"10.30.0.4"
85+
],
86+
"customBgpIpAddresses": [
87+
"169.254.21.5"
88+
],
89+
"tunnelIpAddresses": [
90+
"104.208.48.178"
91+
]
92+
},
93+
{
94+
"ipconfigurationId": "Instance1",
95+
"defaultBgpIpAddresses": [
96+
"10.30.0.5"
97+
],
98+
"customBgpIpAddresses": [
99+
"169.254.21.10"
100+
],
101+
"tunnelIpAddresses": [
102+
"104.208.48.179"
103+
]
104+
}
105+
]
80106
}
81107
}
82108
}

0 commit comments

Comments
 (0)