Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 18ebda8

Browse files
jbgorthyJared Gorthy
andauthored
[Hub Generated] Publish private branch 'jaredgorthy/avnmUDR' (Azure#27758)
* Base commit with original network.json file * Add all udr relevent files * Fix incorrectly copied routing config * Add naming restrictions for avnm uris * Fix warnings for system data and long running delete. * Address reviewer comments * Update network.json with latest preview. * Update invalid ref to child resource -> proxy resource. * Add type object identifier to proxy resource. * Reference common types to resolve validation warnings. * Add new prop to rule collection and remove from rule. --------- Co-authored-by: Jared Gorthy <[email protected]>
1 parent 5a51c7a commit 18ebda8

15 files changed

+1949
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"configurationName": "myTestRoutingConfig"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01-preview"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"configurationName": "myTestRoutingConfig"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig",
13+
"name": "myTestRoutingConfig",
14+
"type": "Microsoft.Network/networkManagers/routingConfigurations",
15+
"systemData": {
16+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
17+
"createdByType": "User",
18+
"createdAt": "2021-01-11T18:52:27Z",
19+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
20+
"lastModifiedByType": "User",
21+
"lastModifiedAt": "2021-01-11T18:52:27Z"
22+
},
23+
"properties": {
24+
"description": "A sample policy",
25+
"provisioningState": "Succeeded",
26+
"resourceGuid": "00000000-0000-0000-0000-000000000000"
27+
}
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig",
14+
"name": "myTestRoutingConfig",
15+
"type": "Microsoft.Network/networkManagers/routingConfigurations",
16+
"systemData": {
17+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
18+
"createdByType": "User",
19+
"createdAt": "2021-01-11T18:52:27Z",
20+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2021-01-11T18:52:27Z"
23+
},
24+
"properties": {
25+
"description": "A sample policy",
26+
"provisioningState": "Succeeded",
27+
"resourceGuid": "00000000-0000-0000-0000-000000000000"
28+
}
29+
}
30+
],
31+
"nextLink": "{baseurl}/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations?api-version=2023-03-01-preview&$skipToken=10"
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"configurationName": "myTestRoutingConfig",
7+
"networkManagerName": "testNetworkManager",
8+
"routingConfiguration": {
9+
"properties": {
10+
"description": "A sample policy"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig",
18+
"name": "myTestRoutingConfig",
19+
"type": "Microsoft.Network/networkManagers/routingConfigurations",
20+
"systemData": {
21+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
22+
"createdByType": "User",
23+
"createdAt": "2021-01-11T18:52:27Z",
24+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
25+
"lastModifiedByType": "User",
26+
"lastModifiedAt": "2021-01-11T18:52:27Z"
27+
},
28+
"properties": {
29+
"description": "A sample policy",
30+
"provisioningState": "Succeeded",
31+
"resourceGuid": "00000000-0000-0000-0000-000000000000"
32+
}
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig",
38+
"name": "myTestRoutingConfig",
39+
"type": "Microsoft.Network/networkManagers/routingConfigurations",
40+
"systemData": {
41+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
42+
"createdByType": "User",
43+
"createdAt": "2021-01-11T18:52:27Z",
44+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
45+
"lastModifiedByType": "User",
46+
"lastModifiedAt": "2021-01-11T18:52:27Z"
47+
},
48+
"properties": {
49+
"description": "A sample policy",
50+
"provisioningState": "Succeeded",
51+
"resourceGuid": "00000000-0000-0000-0000-000000000000"
52+
}
53+
}
54+
}
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"configurationName": "myTestRoutingConfig",
8+
"ruleCollectionName": "testRuleCollection"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-03-01-preview"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"ruleCollectionName": "testRuleCollection",
8+
"configurationName": "myTestRoutingConfig"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection",
14+
"name": "testRuleCollection",
15+
"type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections",
16+
"systemData": {
17+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
18+
"createdByType": "User",
19+
"createdAt": "2021-01-11T18:52:27Z",
20+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
21+
"lastModifiedByType": "User",
22+
"lastModifiedAt": "2021-01-11T18:52:27Z"
23+
},
24+
"properties": {
25+
"description": "A sample rule collection",
26+
"provisioningState": "Succeeded",
27+
"resourceGuid": "00000000-0000-0000-0000-000000000000",
28+
"disableBgpRoutePropagation": false,
29+
"appliesTo": [
30+
{
31+
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
32+
}
33+
],
34+
"localRouteSetting": "NotSpecified"
35+
}
36+
}
37+
}
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"configurationName": "myTestRoutingConfig"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection",
15+
"name": "testRuleCollection",
16+
"type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections",
17+
"systemData": {
18+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
19+
"createdByType": "User",
20+
"createdAt": "2021-01-11T18:52:27Z",
21+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2021-01-11T18:52:27Z"
24+
},
25+
"properties": {
26+
"description": "A sample rule collection",
27+
"provisioningState": "Succeeded",
28+
"resourceGuid": "00000000-0000-0000-0000-000000000000",
29+
"disableBgpRoutePropagation": false,
30+
"appliesTo": [
31+
{
32+
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
33+
}
34+
],
35+
"localRouteSetting": "NotSpecified"
36+
}
37+
}
38+
],
39+
"nextLink": "{baseurl}/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections?api-version=2023-03-01-preview&$skipToken=10"
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"networkManagerName": "testNetworkManager",
7+
"configurationName": "myTestRoutingConfig",
8+
"ruleCollectionName": "testRuleCollection",
9+
"ruleCollection": {
10+
"properties": {
11+
"description": "A sample policy",
12+
"appliesTo": [
13+
{
14+
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
15+
}
16+
],
17+
"localRouteSetting": "NotSpecified"
18+
}
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection",
25+
"name": "myTestRoutingConfig",
26+
"type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections",
27+
"systemData": {
28+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
29+
"createdByType": "User",
30+
"createdAt": "2021-01-11T18:52:27Z",
31+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
32+
"lastModifiedByType": "User",
33+
"lastModifiedAt": "2021-01-11T18:52:27Z"
34+
},
35+
"properties": {
36+
"description": "A sample policy",
37+
"provisioningState": "Succeeded",
38+
"resourceGuid": "00000000-0000-0000-0000-000000000000",
39+
"disableBgpRoutePropagation": false,
40+
"appliesTo": [
41+
{
42+
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
43+
}
44+
],
45+
"localRouteSetting": "NotSpecified"
46+
}
47+
}
48+
},
49+
"201": {
50+
"body": {
51+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig",
52+
"name": "myTestRoutingConfig",
53+
"type": "Microsoft.Network/networkManagers/routingConfigurations",
54+
"systemData": {
55+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
56+
"createdByType": "User",
57+
"createdAt": "2021-01-11T18:52:27Z",
58+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
59+
"lastModifiedByType": "User",
60+
"lastModifiedAt": "2021-01-11T18:52:27Z"
61+
},
62+
"properties": {
63+
"description": "A sample policy",
64+
"provisioningState": "Succeeded",
65+
"resourceGuid": "00000000-0000-0000-0000-000000000000",
66+
"disableBgpRoutePropagation": false,
67+
"appliesTo": [
68+
{
69+
"networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
70+
}
71+
],
72+
"localRouteSetting": "NotSpecified"
73+
}
74+
}
75+
}
76+
}
77+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"configurationName": "myTestRoutingConfig",
7+
"networkManagerName": "testNetworkManager",
8+
"ruleCollectionName": "testRuleCollection",
9+
"ruleName": "sampleRule",
10+
"force": false
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/sampleRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-02-01"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "rg1",
6+
"configurationName": "myTestSecurityConfig",
7+
"networkManagerName": "testNetworkManager",
8+
"ruleCollectionName": "testRuleCollection",
9+
"ruleName": "SampleRoutingRule"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleRoutingRule",
15+
"type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules",
16+
"name": "SampleRoutingRule",
17+
"systemData": {
18+
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
19+
"createdByType": "User",
20+
"createdAt": "2021-01-11T18:52:27Z",
21+
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2021-01-11T18:52:27Z"
24+
},
25+
"properties": {
26+
"description": "This is a routing rule",
27+
"destination": {
28+
"destinationAddress": "10.0.0.0/16",
29+
"type": "AddressPrefix"
30+
},
31+
"nextHop": {
32+
"nextHopAddress": "",
33+
"nextHopType": "VirtualNetworkGateway"
34+
},
35+
"provisioningState": "Succeeded",
36+
"resourceGuid": "00000000-0000-0000-0000-000000000000"
37+
}
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)