Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9adcd7a

Browse files
jago2136Jared Gorthy
andauthoredJan 20, 2022
New Azure Virtual Network Manager API Version (#17311)
* add base api to new version folder for reviewer reference * add chenges for new api versiongit add . * adding changes for new api version * removing extra files left over from PR fix * fixing xmsIdentifierValidation errors * checks not running, changing text to retrigger * checks not running, changing text to retrigger * adding force delete and recursive delete parameters * add missing x-mx-paramter-location attributes, and fix warnings * adding force delete and recursive delete parameters * adding force delete and recursive delete parameters Co-authored-by: Jared Gorthy <jaredgorthy@microsoft.com>
1 parent f2afa7f commit 9adcd7a

File tree

78 files changed

+9120
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+9120
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"title": "Get Azure Virtual Network Manager Active Connectivity Configuration",
3+
"parameters": {
4+
"api-version": "2021-05-01-preview",
5+
"subscriptionId": "subscriptionA",
6+
"resourceGroupName": "myResourceGroup",
7+
"networkManagerName": "testNetworkManager",
8+
"parameters": {
9+
"regions": [
10+
"westus"
11+
],
12+
"skipToken": "fakeSkipTokenCode"
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"value": [
19+
{
20+
"region": "westus",
21+
"commitTime": "2020-07-10T18:03:22.2578238+05:30",
22+
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig",
23+
"properties": {
24+
"displayName": "myTestConnectivityConfig",
25+
"description": "Sample Configuration",
26+
"connectivityTopology": "HubAndSpoke",
27+
"hubs": [
28+
{
29+
"resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig",
30+
"resourceType": "Microsoft.Network/virtualNetworks"
31+
}
32+
],
33+
"isGlobal": "True",
34+
"deleteExistingPeering": "True",
35+
"appliesToGroups": [
36+
{
37+
"networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1",
38+
"useHubGateway": "True",
39+
"groupConnectivity": "None",
40+
"isGlobal": "False"
41+
}
42+
],
43+
"provisioningState": "Succeeded"
44+
},
45+
"configurationGroups": [
46+
{
47+
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1",
48+
"properties": {
49+
"displayName": "My Network Group",
50+
"description": "A group for all test Virtual Networks",
51+
"memberType": "Microsoft.Network/virtualNetworks",
52+
"provisioningState": "Succeeded"
53+
}
54+
}
55+
]
56+
}
57+
],
58+
"skipToken": "FakeSkipTokenCode"
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"title": "Get Azure Virtual Network Manager Active Security Admin Rules",
3+
"parameters": {
4+
"api-version": "2021-05-01-preview",
5+
"subscriptionId": "subscriptionA",
6+
"resourceGroupName": "myResourceGroup",
7+
"networkManagerName": "testNetworkManager",
8+
"parameters": {
9+
"regions": [
10+
"westus"
11+
],
12+
"skipToken": "fakeSkipTokenCode"
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"value": [
19+
{
20+
"region": "westus",
21+
"commitTime": "2020-07-10T18:03:22.2578238+05:30",
22+
"id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule",
23+
"configurationDisplayName": "SampleConfig",
24+
"configurationDescription": "SampleDescription",
25+
"ruleCollectionDisplayName": "SampleRuleCollection",
26+
"ruleCollectionDescription": "SampleRuleCollectionDescription",
27+
"ruleCollectionAppliesToGroups": [
28+
{
29+
"networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1"
30+
}
31+
],
32+
"kind": "Default",
33+
"properties": {
34+
"displayName": "SampleAdminRule",
35+
"description": "Sample Admin Rule",
36+
"flag": "AllowVnetInbound",
37+
"protocol": "Tcp",
38+
"sources": [
39+
{
40+
"addressPrefixType": "IPPrefix",
41+
"addressPrefix": "*"
42+
}
43+
],
44+
"destinations": [
45+
{
46+
"addressPrefixType": "IPPrefix",
47+
"addressPrefix": "*"
48+
}
49+
],
50+
"sourcePortRanges": [
51+
"0-65535"
52+
],
53+
"destinationPortRanges": [
54+
"22"
55+
],
56+
"direction": "Inbound",
57+
"access": "Deny",
58+
"priority": 1,
59+
"provisioningState": "Succeeded"
60+
},
61+
"ruleGroups": [
62+
{
63+
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1",
64+
"properties": {
65+
"displayName": "My Network Group",
66+
"description": "A group for all test Virtual Networks",
67+
"memberType": "Microsoft.Network/virtualNetworks",
68+
"provisioningState": "Succeeded"
69+
}
70+
}
71+
]
72+
}
73+
],
74+
"skipToken": "FakeSkipTokenCode"
75+
}
76+
}
77+
}
78+
}

0 commit comments

Comments
 (0)
Please sign in to comment.