Skip to content

Commit 2aebd7d

Browse files
dedharjianghaolu
authored andcommitted
Add support for List Operation on global reach connections (#4589)
* Adds base for updating Microsoft.Network from version stable/2018-08-01 to version 2018-10-01 * Updates readme * Updates API version in new specs and examples * [Networkwatcer] add FlowLogFormatParameters (#4374) * Update specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkWatcher.json [Networkwatcher] add a new field "Format" with new type"FlowLogFormat" to FlowLogProperties * Revert "Update specification/network/resource-manager/Microsoft.Network/stable/2018-08-01/networkWatcher.json" This reverts commit f4f438a. * Update specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/networkWatcher.json [networkwatcer] add FlowLogFormatParameters * [Network wathcer] add a new field trafficAnalyticsInterval for TA (#4420) * Make NIC VM ref readonly (#4443) * Mark private IP address read-only (#4447) * change container nics property type on container nic config to resourceid (#4459) * Port fix from PR 4459 to 2018-10-01 (#4463) * Application Gateway - Adds Rewrite rule set for Header CRUD (#4331) * Adds base for updating Microsoft.Network from version stable/2018-08-01 to version 2018-10-01 * Updates readme * Updates API version in new specs and examples * Adds Rewrite rule set for Header CRUD Adds the structure of rewriteRuleSets in the applicationGatewayProperties. Adds recursively the sub structures in the rewriteRuleSet. Adds the reference to rewriteRuleSet in the requestRoutingRule for both Basic rule and Path based rule. * Adds examples for the Header CRUD in application gateway * Fix the examples; replacing rules with rewriteRules. * Fixing the properties of application Gateway rewriteRule * Revert "Fixing the properties of application Gateway rewriteRule" This reverts commit 05c9c91. * Fixing the properties of application Gateway rewriteRule * Mark the provisioning state as readOnly * Mark etag as readOnly * Revert "Model ContainerNic refs under ContainerNicConfig as sub resources" (#4467) * Revert "Application Gateway - Adds Rewrite rule set for Header CRUD (#4331)" This reverts commit 633d12d. * Revert "Port fix from PR 4459 to 2018-10-01 (#4463)" This reverts commit 5ea0c7b. * Revert "change container nics property type on container nic config to resourceid (#4459)" This reverts commit baf31d9. * Fixes the missing array for the header actions (#4497) * Network py 2018-10 * add package-2018-10 to Go SDK codegen * Application gateway Identity and Keyvault support (#4387) * identity and keyvault * Capitalization comment * Ported fix from master branch (#4547) * Add support for list api for global reach connections * address farhan comment
1 parent 21f0dcb commit 2aebd7d

File tree

2 files changed

+119
-0
lines changed

2 files changed

+119
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"parameters": {
3+
"connectionName": "circuitConnectionUSAUS",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2018-10-01",
6+
"subscriptionId": "subid1",
7+
"circuitName": "ExpressRouteARMCircuitA",
8+
"peeringName": "AzurePrivatePeering"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
16+
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
17+
"name": "circuitConnectionUSAUS",
18+
"properties": {
19+
"expressRouteCircuitPeering": {
20+
"id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
21+
},
22+
"peerExpressRouteCircuitPeering": {
23+
"id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
24+
},
25+
"authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
26+
"addressPrefix": "10.0.0.0/24",
27+
"circuitConnectionStatus": "Connected",
28+
"provisioningState":"Succeeded"
29+
}
30+
},
31+
{
32+
"id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR",
33+
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
34+
"name": "circuitConnectionUSEUR",
35+
"properties": {
36+
"expressRouteCircuitPeering": {
37+
"id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
38+
},
39+
"peerExpressRouteCircuitPeering": {
40+
"id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering"
41+
},
42+
"addressPrefix": "20.0.0.0/24",
43+
"circuitConnectionStatus": "Connected",
44+
"provisioningState":"Succeeded"
45+
}
46+
}
47+
]
48+
}
49+
}
50+
}
51+
}

specification/network/resource-manager/Microsoft.Network/stable/2018-10-01/expressRouteCircuit.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,58 @@
638638
"x-ms-long-running-operation": true
639639
}
640640
},
641+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": {
642+
"get": {
643+
"tags": [
644+
"ExpressRouteCircuitConnections"
645+
],
646+
"operationId": "ExpressRouteCircuitConnections_List",
647+
"description": "Gets all global reach connections associated with a private peering in an express route circuit.",
648+
"parameters": [
649+
{
650+
"name": "resourceGroupName",
651+
"in": "path",
652+
"required": true,
653+
"type": "string",
654+
"description": "The name of the resource group."
655+
},
656+
{
657+
"name": "circuitName",
658+
"in": "path",
659+
"required": true,
660+
"type": "string",
661+
"description": "The name of the circuit."
662+
},
663+
{
664+
"name": "peeringName",
665+
"in": "path",
666+
"required": true,
667+
"type": "string",
668+
"description": "The name of the peering."
669+
},
670+
{
671+
"$ref": "./network.json#/parameters/ApiVersionParameter"
672+
},
673+
{
674+
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
675+
}
676+
],
677+
"responses": {
678+
"200": {
679+
"description": "Request successful. The operation returns a list of ExpressRouteCircuitConnections resources.",
680+
"schema": {
681+
"$ref": "#/definitions/ExpressRouteCircuitConnectionListResult"
682+
}
683+
}
684+
},
685+
"x-ms-pageable": {
686+
"nextLinkName": "nextLink"
687+
},
688+
"x-ms-examples": {
689+
"List ExpressRouteCircuit Connection": { "$ref": "./examples/ExpressRouteCircuitConnectionList.json" }
690+
}
691+
}
692+
},
641693
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": {
642694
"delete": {
643695
"tags": [
@@ -1587,6 +1639,22 @@
15871639
],
15881640
"description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource."
15891641
},
1642+
"ExpressRouteCircuitConnectionListResult": {
1643+
"properties": {
1644+
"value": {
1645+
"type": "array",
1646+
"items": {
1647+
"$ref": "#/definitions/ExpressRouteCircuitConnection"
1648+
},
1649+
"description": "The global reach connection associated with Private Peering in an ExpressRoute Circuit."
1650+
},
1651+
"nextLink": {
1652+
"type": "string",
1653+
"description": "The URL to get the next set of results."
1654+
}
1655+
},
1656+
"description": "Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit."
1657+
},
15901658
"ExpressRouteCircuitSku": {
15911659
"properties": {
15921660
"name": {

0 commit comments

Comments
 (0)