Skip to content

Commit af6ba1e

Browse files
authored
Merge pull request #190946 from mialdrid/patch-142
Add URL for GET expressRouteProviderPorts
2 parents 50ef750 + 6ac3f52 commit af6ba1e

File tree

1 file changed

+8
-25
lines changed

1 file changed

+8
-25
lines changed

articles/expressroute/circuit-placement-api.md

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ The ExpressRoute partner can list all port pairs within the target provider subs
3333

3434
### To get a list of all port pairs for a provider
3535

36-
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts
37-
38-
#### Get Operation
39-
4036
```rest
37+
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts
4138
{
4239
"parameters": {
4340
"api-version": "2020-03-01",
@@ -95,15 +92,10 @@ https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.
9592
* 200 (OK)  The request is success. It will fetch list of ports.
9693
* 4XX (Bad Request)  One of validations failed – for example: Provider subid isn't valid.
9794

98-
### List of all port for a provider for a particular peering location
99-
100-
#### GET
101-
102-
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts?location={locationName}
103-
104-
#### GET Operation
95+
### To get a list of all port pairs by location
10596

10697
```rest
98+
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts?location={locationName}
10799
{
108100
"parameters": {
109101
"api-version": "2020-03-01",
@@ -143,15 +135,11 @@ https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.
143135
* 200 (OK) The request is success. It will fetch list of ports.
144136
* 4XX (Bad Request) One of validations failed – for example: Provider subid isn't valid or location isn't valid.
145137

146-
To get port details of a particular port using port pair descriptor ID.
147-
148-
#### GET
138+
### To get a specific port pair using the port pair descriptor ID.
149139

140+
```rest
150141
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{portPairDescriptor}
151142
152-
#### GET Operation
153-
154-
```rest
155143
{
156144
"parameters": {
157145
"api-version": "2020-03-01",
@@ -192,21 +180,16 @@ https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.
192180
* 204 The port pair with the mentioned descriptor ID isn't available.
193181
* 4XX (Bad Request) One of validations failed – For example: Provider subid isn't valid.
194182

195-
### PUT expressRouteCrossConnection API to move a circuit to a specific port pair
183+
### Move a target ExpressRoute Circuit to a specific port pair
196184

197185
Once the portPairDescriptor of the target port pair is identified, the ExpressRoute partner can use the [ExpressRouteCrossConnection API](/rest/api/expressroute/express-route-cross-connections/create-or-update) to move the ExpressRoute circuit to a specific port pair.
198186

199187
Currently this API is used by providers to update provisioning state of circuit. This same API will be used by providers to update port pair of the circuit.
200188

201189
Currently the primaryAzurePort and secondaryAzurePort are read-only properties. Now we've disabled the read-only properties for these ports.
202190

203-
#### PUT
204-
205-
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}?api-version=2021-02-01
206-
207-
#### PUT Operation
208-
209191
```rest
192+
https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}?api-version=2021-02-01
210193
{
211194
"parameters": {
212195
"api-version": "2020-03-01",
@@ -244,4 +227,4 @@ Response:
244227

245228
## Next steps
246229

247-
For more information on all ExpressRoute REST APIs, see [ExpressRoute REST APIs](/rest/api/expressroute/).
230+
For more information on all ExpressRoute REST APIs, see [ExpressRoute REST APIs](/rest/api/expressroute/).

0 commit comments

Comments
 (0)