Skip to content

Commit

Permalink
Virtual Wan P2S MultiPool feature swagger changes (#17620)
Browse files Browse the repository at this point in the history
* Virtual Wan P2S MultiPool feature swagger changes

* Fix Swagger LintDiff errors

* Fix LintDiff errors

* Fix errors

* Fix spec

* Fix spec

* Fix spec

* Fix LintDiff errors

* Fix LintDiff errors

* Fix SDK azure-sdk-for-net generation error

* Remove suppression

* Fix errors

* Fix Lintdiff error

* Fix PrettierCheck
  • Loading branch information
Nilambari authored Feb 22, 2022
1 parent 318bb06 commit be92763
Show file tree
Hide file tree
Showing 17 changed files with 1,158 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"configurationPolicyGroupName": "policyGroup1",
"vpnServerConfigurationName": "vpnServerConfiguration1",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"configurationPolicyGroupName": "policyGroup1",
"vpnServerConfigurationName": "vpnServerConfiguration1",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
],
"p2SConnectionConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"vpnServerConfigurationName": "vpnServerConfiguration1",
"api-version": "2021-08-01",
"resourceGroupName": "rg1",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
],
"p2SConnectionConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"
}
]
}
},
{
"name": "policyGroup2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"parameters": {
"configurationPolicyGroupName": "policyGroup1",
"vpnServerConfigurationName": "vpnServerConfiguration1",
"resourceGroupName": "rg1",
"api-version": "2021-08-01",
"subscriptionId": "subid",
"VpnServerConfigurationPolicyGroupParameters": {
"properties": {
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
]
}
}
},
"responses": {
"200": {
"body": {
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
],
"p2SConnectionConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1"
}
]
}
}
},
"201": {
"body": {
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
},
{
"name": "policy2",
"attributeType": "CertificateGroupId",
"attributeValue": "red.com"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,29 @@
"101.3.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"routingConfiguration": {
"associatedRouteTable": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,29 @@
"101.3.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"enableInternetSecurity": false
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,29 @@
"101.3.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"routingConfiguration": {
"associatedRouteTable": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"
Expand Down Expand Up @@ -105,6 +128,29 @@
"101.4.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"routingConfiguration": {
"associatedRouteTable": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,29 @@
"101.3.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"routingConfiguration": {
"associatedRouteTable": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1"
Expand Down Expand Up @@ -101,6 +124,29 @@
"101.3.0.0/16"
]
},
"configurationPolicyGroupAssociations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1"
}
],
"previousConfigurationPolicyGroupAssociations": [
{
"name": "policyGroup1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1",
"properties": {
"provisioningState": "Succeeded",
"isDefault": true,
"priority": 0,
"policyMembers": [
{
"name": "policy1",
"attributeType": "RadiusAzureGroupId",
"attributeValue": "6ad1bd08"
}
]
}
}
],
"routingConfiguration": {
"associatedRouteTable": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1"
Expand Down
Loading

0 comments on commit be92763

Please sign in to comment.