forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Azure Virtual Network Manager API Version (Azure#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>
- Loading branch information
Showing
78 changed files
with
9,120 additions
and
0 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...eview/2021-05-01-preview/examples/NetworkManagerActiveConnectivityConfigurationsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"title": "Get Azure Virtual Network Manager Active Connectivity Configuration", | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subscriptionA", | ||
"resourceGroupName": "myResourceGroup", | ||
"networkManagerName": "testNetworkManager", | ||
"parameters": { | ||
"regions": [ | ||
"westus" | ||
], | ||
"skipToken": "fakeSkipTokenCode" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"region": "westus", | ||
"commitTime": "2020-07-10T18:03:22.2578238+05:30", | ||
"id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", | ||
"properties": { | ||
"displayName": "myTestConnectivityConfig", | ||
"description": "Sample Configuration", | ||
"connectivityTopology": "HubAndSpoke", | ||
"hubs": [ | ||
{ | ||
"resourceId": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", | ||
"resourceType": "Microsoft.Network/virtualNetworks" | ||
} | ||
], | ||
"isGlobal": "True", | ||
"deleteExistingPeering": "True", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", | ||
"useHubGateway": "True", | ||
"groupConnectivity": "None", | ||
"isGlobal": "False" | ||
} | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"configurationGroups": [ | ||
{ | ||
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", | ||
"properties": { | ||
"displayName": "My Network Group", | ||
"description": "A group for all test Virtual Networks", | ||
"memberType": "Microsoft.Network/virtualNetworks", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"skipToken": "FakeSkipTokenCode" | ||
} | ||
} | ||
} | ||
} |
78 changes: 78 additions & 0 deletions
78
...twork/preview/2021-05-01-preview/examples/NetworkManagerActiveSecurityAdminRulesList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"title": "Get Azure Virtual Network Manager Active Security Admin Rules", | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subscriptionA", | ||
"resourceGroupName": "myResourceGroup", | ||
"networkManagerName": "testNetworkManager", | ||
"parameters": { | ||
"regions": [ | ||
"westus" | ||
], | ||
"skipToken": "fakeSkipTokenCode" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"region": "westus", | ||
"commitTime": "2020-07-10T18:03:22.2578238+05:30", | ||
"id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", | ||
"configurationDisplayName": "SampleConfig", | ||
"configurationDescription": "SampleDescription", | ||
"ruleCollectionDisplayName": "SampleRuleCollection", | ||
"ruleCollectionDescription": "SampleRuleCollectionDescription", | ||
"ruleCollectionAppliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" | ||
} | ||
], | ||
"kind": "Default", | ||
"properties": { | ||
"displayName": "SampleAdminRule", | ||
"description": "Sample Admin Rule", | ||
"flag": "AllowVnetInbound", | ||
"protocol": "Tcp", | ||
"sources": [ | ||
{ | ||
"addressPrefixType": "IPPrefix", | ||
"addressPrefix": "*" | ||
} | ||
], | ||
"destinations": [ | ||
{ | ||
"addressPrefixType": "IPPrefix", | ||
"addressPrefix": "*" | ||
} | ||
], | ||
"sourcePortRanges": [ | ||
"0-65535" | ||
], | ||
"destinationPortRanges": [ | ||
"22" | ||
], | ||
"direction": "Inbound", | ||
"access": "Deny", | ||
"priority": 1, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"ruleGroups": [ | ||
{ | ||
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", | ||
"properties": { | ||
"displayName": "My Network Group", | ||
"description": "A group for all test Virtual Networks", | ||
"memberType": "Microsoft.Network/virtualNetworks", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"skipToken": "FakeSkipTokenCode" | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...etwork/preview/2021-05-01-preview/examples/NetworkManagerActiveSecurityUserRulesList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"title": "Get Azure Virtual Network Manager Active Security User Rules", | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subscriptionA", | ||
"resourceGroupName": "myResourceGroup", | ||
"networkManagerName": "testNetworkManager", | ||
"parameters": { | ||
"regions": [ | ||
"westus" | ||
], | ||
"skipToken": "fakeSkipTokenCode" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"region": "westus", | ||
"commitTime": "2020-07-10T18:03:22.2578238+05:30", | ||
"id": "/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", | ||
"configurationDisplayName": "SampleConfig", | ||
"configurationDescription": "SampleDescription", | ||
"ruleCollectionDisplayName": "SampleRuleCollection", | ||
"ruleCollectionDescription": "SampleRuleCollectionDescription", | ||
"ruleCollectionAppliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" | ||
} | ||
], | ||
"kind": "Custom", | ||
"properties": { | ||
"displayName": "SampleUserRule", | ||
"description": "Sample User Rule", | ||
"protocol": "Tcp", | ||
"sources": [ | ||
{ | ||
"addressPrefixType": "IPPrefix", | ||
"addressPrefix": "*" | ||
} | ||
], | ||
"destinations": [ | ||
{ | ||
"addressPrefixType": "IPPrefix", | ||
"addressPrefix": "*" | ||
} | ||
], | ||
"sourcePortRanges": [ | ||
"0-65535" | ||
], | ||
"destinationPortRanges": [ | ||
"22" | ||
], | ||
"direction": "Inbound", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"ruleGroups": [ | ||
{ | ||
"id": "/subscriptions/subscriptionA/resourceGroup/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", | ||
"properties": { | ||
"displayName": "My Network Group", | ||
"description": "A group for all test Virtual Networks", | ||
"memberType": "Microsoft.Network/virtualNetworks", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"skipToken": "FakeSkipTokenCode" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
....Network/preview/2021-05-01-preview/examples/NetworkManagerAdminRuleCollectionDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "testNetworkManager", | ||
"configurationName": "myTestSecurityConfig", | ||
"ruleCollectionName": "testRuleCollection" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...oft.Network/preview/2021-05-01-preview/examples/NetworkManagerAdminRuleCollectionGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "testNetworkManager", | ||
"ruleCollectionName": "testRuleCollection", | ||
"configurationName": "myTestSecurityConfig" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", | ||
"name": "testRuleCollection", | ||
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", | ||
"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": "testRuleCollection", | ||
"description": "A sample rule collection", | ||
"provisioningState": "Succeeded", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...ft.Network/preview/2021-05-01-preview/examples/NetworkManagerAdminRuleCollectionList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "testNetworkManager", | ||
"configurationName": "myTestSecurityConfig" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", | ||
"name": "testRuleCollection", | ||
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", | ||
"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": "testRuleCollection", | ||
"description": "A sample rule collection", | ||
"provisioningState": "Succeeded", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": "{baseurl}/subscriptions/subId/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2021-05-01-preview&$skipToken=10" | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...oft.Network/preview/2021-05-01-preview/examples/NetworkManagerAdminRuleCollectionPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-05-01-preview", | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rg1", | ||
"networkManagerName": "testNetworkManager", | ||
"configurationName": "myTestSecurityConfig", | ||
"ruleCollectionName": "testRuleCollection", | ||
"ruleCollection": { | ||
"properties": { | ||
"description": "A sample policy", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", | ||
"name": "myTestSecurityConfig", | ||
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", | ||
"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": "myTestSecurityConfig", | ||
"description": "A sample policy", | ||
"provisioningState": "Succeeded", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", | ||
"name": "myTestSecurityConfig", | ||
"type": "Microsoft.Network/networkManagers/securityAdminConfigurations", | ||
"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": "myTestSecurityConfig", | ||
"description": "A sample policy", | ||
"provisioningState": "Succeeded", | ||
"appliesToGroups": [ | ||
{ | ||
"networkGroupId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.