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

Remove discriminator from ActiveConfiguration and split activeconfiguraiton APIs to config level #15282

Merged
merged 15 commits into from
Aug 6, 2021
Merged

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"title": "Get Azure Virtual Network Manager Active Configuration",
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
"parameters": {
"api-version": "2021-02-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",
"hubId": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet",
"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": "VirtualNetwork",
"groupMembers": [
{
"vnetId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1"
}
],
"conditionalMembership": "",
"provisioningState": "Succeeded"
}
}
]
}
],
"$skipToken": "FakeSkipTokenCode"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"title": "Get Azure Virtual Network Manager Active Configuration",
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
"parameters": {
"api-version": "2021-02-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",
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
"configurationDisplayName": "SampleConfig",
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
"configurationDescription": "SampleDescription",
yanfa317 marked this conversation as resolved.
Show resolved Hide resolved
"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": "VirtualNetwork",
"groupMembers": [
{
"vnetId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/virtualnetwork/vnet1"
}
],
"conditionalMembership": "",
"provisioningState": "Succeeded"
}
}
]
}
],
"$skipToken": "FakeSkipTokenCode"
}
}
}
}
Loading