Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New Resource NetworkManager #12441

Merged
merged 58 commits into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
5c227c4
Add New Resource NetworkManager
yanfa317 Jan 14, 2021
20f5ac5
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
yanfa317 Jan 14, 2021
741327d
fix prettie
yanfa317 Jan 15, 2021
b371036
Fix bug
yanfa317 Jan 15, 2021
91e89c3
add customwords
yanfa317 Jan 15, 2021
2efeb9a
fix bugs
yanfa317 Jan 15, 2021
fd61fdb
add patch api
yanfa317 Jan 16, 2021
1c61ee0
Fix bug
yanfa317 Jan 16, 2021
315b840
add deployment status apis
yanfa317 Jan 20, 2021
0c53c5d
fix bugs
yanfa317 Jan 20, 2021
fed77c0
Fix bugs
yanfa317 Jan 20, 2021
2a8ffdd
fix bug
yanfa317 Jan 20, 2021
ceba75e
add vnetapi
yanfa317 Jan 22, 2021
6458e01
Fix bug
yanfa317 Jan 22, 2021
562bdd6
Fix bug
yanfa317 Jan 22, 2021
05b1d2a
prettycheck
yanfa317 Jan 22, 2021
0349741
fix bug
yanfa317 Jan 22, 2021
63e2ada
fix as commnets
yanfa317 Jan 26, 2021
177a2b5
fix example
yanfa317 Jan 26, 2021
98f49e5
fix buyg
yanfa317 Jan 26, 2021
7c58f91
Fix as commit
yanfa317 Jan 27, 2021
ed1cfdc
fix bug
yanfa317 Jan 27, 2021
b0cfbb4
move to preview folder
yanfa317 Jan 28, 2021
872433d
Fix bug
yanfa317 Jan 28, 2021
f19621c
fix bug
yanfa317 Jan 28, 2021
169b36f
Fix description
yanfa317 Jan 29, 2021
ce618aa
Fix bug
yanfa317 Jan 29, 2021
3234288
fix bug
yanfa317 Jan 29, 2021
285f048
fix rules
yanfa317 Jan 29, 2021
3ea7c78
fix spell
yanfa317 Jan 29, 2021
ff0b2e9
Remove tags and add systemtags
yanfa317 Feb 2, 2021
9365a0a
Fix bug
yanfa317 Feb 2, 2021
4ad5fa9
remove location
yanfa317 Feb 2, 2021
c3e9e6f
fix as discussed
yanfa317 Feb 5, 2021
3983770
Fix bug
yanfa317 Feb 6, 2021
7a5e3dd
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
yanfa317 Feb 8, 2021
e108f0d
Fix version
yanfa317 Feb 8, 2021
a862dcb
fix as commnets
yanfa317 Feb 11, 2021
aee2264
Fix format
yanfa317 Feb 11, 2021
5bd18bf
fix format
yanfa317 Feb 18, 2021
97e3d49
fix bug
yanfa317 Feb 18, 2021
a98fb2a
Add patch nm
yanfa317 Feb 18, 2021
c87ba08
Fix bug
yanfa317 Feb 18, 2021
8976d9b
fix validation
yanfa317 Feb 18, 2021
5fbe61d
update tag
yanfa317 Feb 18, 2021
10706db
Fix as commnets
yanfa317 Feb 19, 2021
3fa4ca2
fix bug
yanfa317 Feb 19, 2021
aad378f
Fix Bug Issue
yanfa317 Feb 19, 2021
77d75f9
Fix Bug Issue
yanfa317 Feb 19, 2021
06b78f1
Fix dup
yanfa317 Feb 19, 2021
f98c865
Fix dup
yanfa317 Feb 19, 2021
0615884
New fix
yanfa317 Feb 19, 2021
792cfec
add systemdata
yanfa317 Feb 19, 2021
be7481a
add systemdata
yanfa317 Feb 19, 2021
1632768
Change as comments
yanfa317 Feb 19, 2021
48e26ef
fix as comments
yanfa317 Feb 20, 2021
78cf335
try unchange tag
yanfa317 Feb 23, 2021
d516177
change tag
yanfa317 Feb 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ nowcasts
nsdname
nsku
nsxt
NSGs
ntext
ntfs
ntlm
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"title": "Get Azure Virtual Network Manager Active Configuration",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"networkManagerName": "testNetworkManager"
},
"responses": {
"200": {
"body": {
"value": [
{
"configType": "Connectivity",
"connectivityConfiguration": {
"name": "myTestConnectivityConfig",
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig",
"type": "Microsoft.Network/networkManagers/connectivityConfigurations",
"properties": {
"displayName": "myTestConnectivityConfig",
"description": "Sample Configuration",
"connectivityTopology": "HubAndSpokeTopology",
"hubId": "subscriptions/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet",
"deleteExistingPeering": true,
"isGlobal": true,
"appliesToGroups": [
{
"networkGroupId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1",
"useHubGateway": true,
"groupConnectivity": "Transitive",
"isGlobal": false
}
],
"provisioningState": "Succeeded"
}
},
"securityAdminRule": null,
"securityUserRule": null,
"configurationGroups": [
{
"name": "group1",
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1",
"type": "Microsoft.Network/networkManagers/networkGroups",
"properties": {
"displayName": "My Network Group",
"description": "A group for all test Virtual Networks",
"memberType": "VirtualNetwork",
"groupMembers": [
{
"resourceId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1"
}
],
"conditionalMembership": "",
"provisioningState": "Succeeded"
}
}
],
"region": "westus",
"commitTime": "2020-07-10T18:03:22.2578238+05:30"
}
],
"nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/activeConfigurations?api-version=22021-02-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"configurationName": "myTestSecurityConfig",
"networkManagerName": "testNetworkManager",
"ruleName": "SampleAdminRule"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"configurationName": "myTestSecurityConfig",
"networkManagerName": "testNetworkManager",
"ruleName": "SampleAdminRule"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityConfigurations/myTestSecurityConfig/adminRules/SampleAdminRule",
"type": "Microsoft.Network/networkManagers/securityConfigurations/AdminRules",
"name": "SampleAdminRule",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
},
"properties": {
"displayName": "SampleAdminRule",
"description": "This is Sample Admin Rule",
"protocol": "Tcp",
"source": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"destination": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"sourcePortRanges": [
"0-65535"
],
"destinationPortRanges": [
"22"
],
"access": "Deny",
"priority": 1,
"direction": "Inbound",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/networkGroups/testGroup"
}
],
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkManagerName": "testNetworkManager",
"configurationName": "myTestSecurityConfig",
"ruleName": "SampleAdminRule",
"adminRule": {
"properties": {
"description": "This is Sample Admin Rule",
"protocol": "Tcp",
"source": [
{
"addressPrefixType": "ServiceTag",
"addressPrefix": "Internet"
}
],
"destination": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"sourcePortRanges": [
"0-65535"
],
"destinationPortRanges": [
"22"
],
"access": "Deny",
"priority": 1,
"direction": "Inbound",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityConfigurations/myTestSecurityConfig/adminRules/SampleAdminRule",
"type": "Microsoft.Network/networkManagers/securityConfigurations/AdminRules",
"name": "SampleAdminRule",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
},
"properties": {
"description": "This is Sample Admin Rule",
"protocol": "Tcp",
"source": [
{
"addressPrefixType": "ServiceTag",
"addressPrefix": "Internet"
}
],
"destination": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"sourcePortRanges": [
"0-65535"
],
"destinationPortRanges": [
"22"
],
"access": "Deny",
"priority": 1,
"direction": "Inbound",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
}
],
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityConfigurations/myTestSecurityConfig/adminRules/SampleAdminRule",
"type": "Microsoft.Network/networkManagers/securityConfigurations/AdminRules",
"name": "SampleAdminRule",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
},
"properties": {
"description": "This is Sample Admin Rule",
"protocol": "Tcp",
"source": [
{
"addressPrefixType": "ServiceTag",
"addressPrefix": "Internet"
}
],
"destination": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"sourcePortRanges": [
"0-65535"
],
"destinationPortRanges": [
"22"
],
"access": "Deny",
"priority": 1,
"direction": "Inbound",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup"
}
],
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"networkManagerName": "testNetworkManager",
"configurationName": "myTestSecurityConfig"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityConfigurations/myTestSecurityConfig/adminRules/SampleAdminRule",
"type": "Microsoft.Network/networkManagers/securityConfigurations/AdminRules",
"name": "SampleAdminRule",
"systemData": {
"createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"createdByType": "User",
"createdAt": "2021-01-11T18:52:27Z",
"lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-11T18:52:27Z"
},
"properties": {
"description": "This is Sample Admin Rule",
"protocol": "Tcp",
"source": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"destination": [
{
"addressPrefixType": "IPPrefix",
"addressPrefix": "*"
}
],
"sourcePortRanges": [
"0-65535"
],
"destinationPortRanges": [
"22"
],
"access": "Deny",
"priority": 1,
"direction": "Inbound",
"appliesToGroups": [
{
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/networkGroups/testGroup"
}
],
"provisioningState": "Succeeded"
}
}
],
"nextLink": "{baseurl}/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/myTestSecurityConfig/adminRules?api-version=2021-02-01-preview&$skipToken=10"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": "Post Azure Virtual Network Manager Commit",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subscriptionC",
"resourceGroupName": "resoureGroupSample",
"networkManagerName": "testNetworkManager",
"parameters": {
"targetLocations": [
"usest"
],
"configurationIds": [
"/subscriptions/subscriptionC/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityConfigurations/SampleSecurityConfig"
],
"commitType": "AdminPolicy"
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Get Azure Virtual Network Manager Connectivity Configuration",
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "subscriptionA",
"resourceGroupName": "myResourceGroup",
"networkManagerName": "testNetworkManager",
"configurationName": "myTestConnectivityConfig"
},
"responses": {
"200": {},
"204": {}
}
}
Loading