@@ -70,26 +70,31 @@ You can add a device link to a remote network at any time.
7070## Add a device link using Microsoft Graph API
7171
72721 . Sign in to the [ Graph Explorer] ( https://aka.ms/ge ) .
73- 1 . Select ` GET ` as the HTTP method from the dropdown.
73+ 1 . Select ` POST ` as the HTTP method from the dropdown.
74741 . Set the API version to beta.
75751 . Enter the following query:
7676
7777``` http
7878POST https://graph.microsoft.com/beta/networkaccess/connectivity/branches/BRANCH_ID/deviceLinks
7979 {
80- "name": "CPE Link 2",
81- "ipAddress": "20.125.118.220",
82- "version": "1.0.0",
83- "deviceVendor": "Other",
84- "bgpConfiguration": {
85- "ipAddress": "172.16.11.6",
86- "asn": 8888
87- },
88- "tunnelConfiguration": {
89- "@odata.type": "#microsoft.graph.networkaccess.tunnelConfigurationIKEv2Default",
90- "preSharedKey": "Detective5OutgrowDiligence"
91- }
92- }
80+ "name": "CPE2",
81+ "ipAddress": "100.1.1.56",
82+ "BandwidthCapacityInMbps": "Mbps250",
83+ "bgpConfiguration": {
84+ "LocalIpAddress": "10.1.1.28",
85+ "PeerIpAddress": "10.1.1.28",
86+ "asn": 5555
87+ },
88+ "tunnelConfiguration": {
89+ "@odata.type": "#microsoft.graph.networkaccess.tunnelConfigurationIKEv2Default",
90+ "preSharedKey": "secret.ppk"
91+ },
92+ "redundancyConfiguration": {
93+ "redundancyTier": "zoneRedundancy",
94+ "zoneLocalIpAddress": "1.1.1.12"
95+ },
96+ "deviceVendor": "citrix"
97+ }
9398
9499```
95100
@@ -101,6 +106,18 @@ To delete a device link, navigate to the device link details page and select the
101106
102107![ Screenshot of the delete icon for remote network device links.] ( media/how-to-manage-remote-network-device-links/delete-device-link.png )
103108
109+ ## Delete a device link using Microsoft Graph API
110+
111+ 1 . Sign in to the [ Graph Explorer] ( https://aka.ms/ge ) .
112+ 1 . Select ` DELETE ` as the HTTP method from the dropdown.
113+ 1 . Set the API version to beta.
114+ 1 . Enter the following query:
115+
116+ ``` http
117+ DELETE https://graph.microsoft.com/beta/networkaccess/connectivity/branches/BRANCH_ID/deviceLinks/LINK_ID
118+
119+ ```
120+
104121[ !INCLUDE [ Public preview important note] ( ./includes/public-preview-important-note.md )]
105122
106123## Next steps
0 commit comments