Skip to content

Commit e5f6462

Browse files
authored
GET expressRouteCrossConnection
Add Sample API operation for GET expressRouteCrossConnection
1 parent 3b3deaa commit e5f6462

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

articles/expressroute/cross-connections-api-development.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,49 @@ Date: Tue, 01 May 2018 19:25:31 GMT
144144

145145
2. **GET expressRouteCrossConnection:** Once you have identified both the *Name* and *ResourceGroupName* of the target expressRouteCrossConnection resource, you need to perform the GET expressRouteCrossConnection API call.
146146

147+
```GET /subscriptions/<ProviderManagementSubscription>/resourceGroups/CrossConnection-EUAPTest/providers/Microsoft.Network/expressRouteCrossConnections/9ee700ad-50b2-4b98-a63a-4e52f855ac24?api-version=2018-02-01 HTTP/1.1
148+
Host: management.azure.com
149+
Authorization: Bearer eyJ0eXAiOiJKV...
150+
User-Agent: ARMClient/1.2.0.0
151+
Accept: application/json
152+
x-ms-request-id: d17924c4-f977-4c82-b933-d66c5fa334dd
153+
154+
155+
---------- Response (3317 ms) ------------
156+
157+
HTTP/1.1 200 OK
158+
Pragma: no-cache
159+
x-ms-request-id: 41621c90-2e59-4220-9a32-3b29b1198bf5
160+
Strict-Transport-Security: max-age=31536000; includeSubDomains
161+
Cache-Control: no-cache
162+
Server: Microsoft-HTTPAPI/2.0; Microsoft-HTTPAPI/2.0
163+
x-ms-ratelimit-remaining-subscription-reads: 14999
164+
x-ms-correlation-request-id: 85e08ce4-5a8f-4fe4-a434-e3fddef250d4
165+
x-ms-routing-request-id: WESTUS:20180501T193230Z:85e08ce4-5a8f-4fe4-a434-e3fddef250d4
166+
X-Content-Type-Options: nosniff
167+
Date: Tue, 01 May 2018 19:32:29 GMT
168+
169+
{
170+
"name": "9ee700ad-50b2-4b98-a63a-4e52f855ac24",
171+
"id": "/subscriptions/<ProviderManagementSubscription>/resourceGroups/CrossConnection-EUAPTest/providers/Microsoft.Network/expressRouteCrossConnections/9ee700ad-50b2-4b98-a63a-4e52f855ac24",
172+
"etag": "W/\"f07a267f-4a5c-4538-83e5-de1fcb183801\"",
173+
"type": "Microsoft.Network/expressRouteCrossConnections",
174+
"location": "eastus2euap",
175+
"properties": {
176+
"provisioningState": "Succeeded",
177+
"expressRouteCircuit": {
178+
"id": "/subscriptions/<TargetCustomerSubscription>/resourceGroups/Karthikcrossconnectiontest/providers/Microsoft.Network/expressRouteCircuits/TestCircuitXYZ"
179+
},
180+
"peeringLocation": "EUAP Test",
181+
"bandwidthInMbps": 200,
182+
"serviceProviderProvisioningState": "NotProvisioned",
183+
"primaryAzurePort": "EUAP-ARMTEST-06GMR-CIS-1-PRI-A",
184+
"secondaryAzurePort": "EUAP-ARMTEST-06GMR-CIS-2-SEC-A",
185+
"sTag": 3,
186+
"peerings": []
187+
}
188+
}
189+
```
147190
3. **PUT expressRouteCrossConnection:** Once you provision layer-2 connectivity, update the *ServiceProviderProvisioningState* to **Provisioned**. At this point, the customer can configure Microsoft or Private Peering and create a connection from the ExpressRoute circuit to a virtual network gateway deployed in the customer's subscription.
148191

149192
4. **(Optional) PUT expressRouteCrossConnection to configure Microsoft and/or Private Peering:** If you manage layer-3 BGP connectivity, you can enable Microsoft and/or Private Peering.

0 commit comments

Comments
 (0)