/
GlobalReachConnections_CreateOrUpdate.json
46 lines (46 loc) · 2.22 KB
/
GlobalReachConnections_CreateOrUpdate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"parameters": {
"api-version": "2023-03-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"globalReachConnectionName": "connection1",
"globalReachConnection": {
"properties": {
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer",
"authorizationKey": "01010101-0101-0101-0101-010101010101"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1",
"name": "connection1",
"properties": {
"addressPrefix": "10.2.3.16/29",
"authorizationKey": "01010101-0101-0101-0101-010101010101",
"circuitConnectionStatus": "Connected",
"expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect",
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/globalReachConnections"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/globalReachConnections/connection1",
"name": "connection1",
"properties": {
"addressPrefix": "10.2.3.16/29",
"authorizationKey": "01010101-0101-0101-0101-010101010101",
"circuitConnectionStatus": "Connected",
"peerExpressRouteCircuit": "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.Network/expressRouteCircuits/mypeer",
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/globalReachConnections"
}
}
}
}