From 5a5b4681ac7f8a9df9bbeef432508557a13bd7a4 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Wed, 2 Feb 2022 00:32:48 -0800 Subject: [PATCH 01/14] Virtual Wan P2S MultiPool feature swagger changes --- .../ConfigurationPolicyGroupDelete.json | 14 + .../examples/ConfigurationPolicyGroupGet.json | 41 ++ ...licyGroupListByVpnServerConfiguration.json | 64 +++ .../examples/ConfigurationPolicyGroupPut.json | 82 ++++ .../2021-08-01/examples/P2SVpnGatewayGet.json | 23 ++ .../P2SVpnGatewayGetConnectionHealth.json | 23 ++ .../examples/P2SVpnGatewayList.json | 46 +++ .../P2SVpnGatewayListByResourceGroup.json | 46 +++ .../2021-08-01/examples/P2SVpnGatewayPut.json | 46 +++ .../examples/P2SVpnGatewayReset.json | 23 ++ .../examples/P2SVpnGatewayUpdateTags.json | 23 ++ .../examples/VpnServerConfigurationGet.json | 41 ++ .../examples/VpnServerConfigurationList.json | 82 ++++ ...erverConfigurationListByResourceGroup.json | 82 ++++ .../examples/VpnServerConfigurationPut.json | 114 ++++++ .../VpnServerConfigurationUpdateTags.json | 39 ++ .../stable/2021-08-01/virtualWan.json | 366 ++++++++++++++++++ 17 files changed, 1155 insertions(+) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupDelete.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupPut.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupDelete.json new file mode 100644 index 000000000000..06804cc03d57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "configurationPolicyGroupName": "policyGroup1", + "vpnServerConfigurationName": "vpnServerConfiguration1", + "resourceGroupName": "rg1", + "api-version": "2021-08-01", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupGet.json new file mode 100644 index 000000000000..bba700829465 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupGet.json @@ -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" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json new file mode 100644 index 000000000000..16d09e4907bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "vpnServerConfigurationName": "vpnServerConfiguration1", + "api-version": "2021-08-01", + "resourceGroupName": "rg1", + "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" + } + ] + } + }, + { + "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" + } + ] + } + } + ] + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupPut.json new file mode 100644 index 000000000000..cfab0ef37c8e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupPut.json @@ -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" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGet.json index 9dd628f9a4cf..ad01cb477b81 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGet.json @@ -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" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGetConnectionHealth.json index 4aa3b19d7b10..c7afa8b37630 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGetConnectionHealth.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -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 } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayList.json index f568dc48f8e3..08af4d65ec86 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayList.json @@ -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" @@ -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" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayListByResourceGroup.json index 69997a78c576..bf9457a70520 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -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" @@ -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" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayPut.json index e4e4a03bda76..32f0034f58af 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayPut.json @@ -91,6 +91,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" @@ -162,6 +185,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" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayReset.json index fa6de705866e..2d14807a3564 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayReset.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayReset.json @@ -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" + } + ] + } + } + ], "enableInternetSecurity": false } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayUpdateTags.json index ef3b845d8d6a..322c4ebf4516 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/P2SVpnGatewayUpdateTags.json @@ -42,6 +42,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" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationGet.json index ce4ccf5e4d54..f4ecbab058ad 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationGet.json @@ -36,6 +36,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationList.json index 64593747880f..98f2551e24be 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationList.json @@ -36,6 +36,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", @@ -93,6 +134,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationListByResourceGroup.json index 6a733ac9fb2c..16233eafa223 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationListByResourceGroup.json @@ -37,6 +37,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", @@ -94,6 +135,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationPut.json index 4cc78d14d0e9..100cc2002111 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationPut.json @@ -25,6 +25,38 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "priority": 0, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ] + } + }, + { + "name": "policyGroup2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "priority": 0, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", @@ -90,6 +122,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", @@ -153,6 +226,47 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "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" + } + ], + "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": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationUpdateTags.json index cfd8118f139b..3ff67dd24578 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VpnServerConfigurationUpdateTags.json @@ -40,6 +40,45 @@ "pfsGroup": "PFS14" } ], + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "properties": { + "isDefault": true, + "priority": 0, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "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": { + "isDefault": true, + "priority": 0, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ] + } + } + ], "vpnClientRootCertificates": [ { "name": "vpnServerConfigVpnClientRootCert1", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index c2e81526983b..6c54a7156a02 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -1106,6 +1106,240 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": { + "put": { + "operationId": "ConfigurationPolicyGroups_CreateOrUpdate", + "x-ms-examples": { + "ConfigurationPolicyGroupPut": { + "$ref": "./examples/ConfigurationPolicyGroupPut.json" + } + }, + "description": "Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the ConfigurationPolicyGroup." + }, + { + "name": "vpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnServerConfiguration." + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ConfigurationPolicyGroup." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "name": "VpnServerConfigurationPolicyGroupParameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "description": "Parameters supplied to create or update a VpnServerConfiguration PolicyGroup." + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the VpnServerConfiguration PolicyGroup created or updated.", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "201": { + "description": "Request successful. Returns the details of the VpnServerConfiguration PolicyGroup retrieved.", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "operationId": "ConfigurationPolicyGroups_Delete", + "x-ms-examples": { + "ConfigurationPolicyGroupDelete": { + "$ref": "./examples/ConfigurationPolicyGroupDelete.json" + } + }, + "description": "Deletes a ConfigurationPolicyGroup.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the ConfigurationPolicyGroup." + }, + { + "name": "vpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnServerConfiguration." + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ConfigurationPolicyGroup." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. ConfigurationPolicyGroup deleted." + }, + "202": { + "description": "Request received successfully. ConfigurationPolicyGroup deletion is in progress; follow the Location header to poll for final outcome." + }, + "204": { + "description": "No ConfigurationPolicyGroup exist by the name provided." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "operationId": "ConfigurationPolicyGroups_Get", + "x-ms-examples": { + "ConfigurationPolicyGroupGet": { + "$ref": "./examples/ConfigurationPolicyGroupGet.json" + } + }, + "description": "Retrieves the details of a ConfigurationPolicyGroup.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnServerConfiguration." + }, + { + "name": "vpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnServerConfiguration." + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ConfigurationPolicyGroup being retrieved." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of the ConfigurationPolicyGroup retrieved.", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups": { + "get": { + "operationId": "configurationPolicyGroups_ListByVpnServerConfiguration", + "x-ms-examples": { + "ConfigurationPolicyGroupListByVpnServerConfiguration": { + "$ref": "./examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json" + } + }, + "description": "Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.", + "parameters": [ + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The resource group name of the VpnServerConfiguration." + }, + { + "name": "vpnServerConfigurationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the VpnServerConfiguration." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns the details of all the VpnServerConfigurations in the resource group.", + "schema": { + "$ref": "#/definitions/ListVpnServerConfigurationPolicyGroupsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "./network.json#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": { "get": { "operationId": "VpnServerConfigurations_List", @@ -7392,6 +7626,13 @@ }, "description": "List of references to P2SVpnGateways." }, + "configurationPolicyGroups": { + "type": "array", + "description": "List of all VpnServerConfigurationPolicyGroups.", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, "etag": { "readOnly": true, "type": "string", @@ -7469,6 +7710,115 @@ }, "description": "VpnClientConnectionHealth properties." }, + "VpnServerConfigurationPolicyGroupProperties": { + "properties": { + "isDefault": { + "type": "boolean", + "description": "Shows if this is a Default VpnServerConfigurationPolicyGroup or not." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority for VpnServerConfigurationPolicyGroup." + }, + "policyMembers": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroupMember" + }, + "description": "Multiple PolicyMembers for VpnServerConfigurationPolicyGroup." + }, + "p2SConnectionConfigurations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of references to P2SConnectionConfigurations." + }, + "provisioningState": { + "readOnly": true, + "$ref": "./network.json#/definitions/ProvisioningState", + "description": "The provisioning state of the VpnServerConfigurationPolicyGroup resource." + } + }, + "description": "Parameters for VpnServerConfigurationPolicyGroup." + }, + "VpnServerConfigurationPolicyGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VpnServerConfigurationPolicyGroupProperties", + "description": "Properties of the VpnServerConfigurationPolicyGroup." + }, + "etag": { + "type": "string", + "readOnly": true, + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./network.json#/definitions/SubResource" + } + ], + "description": "VpnServerConfigurationPolicyGroup Resource." + }, + "VpnServerConfigurationPolicyGroupMember": { + "properties": { + "name": { + "type": "string", + "description": "Name of the VpnServerConfigurationPolicyGroupMember." + }, + "attributeType": { + "type": "string", + "description": "The Vpn Policy member attribute type.", + "enum": [ + "CertificateGroupId", + "AADGroupId", + "RadiusAzureGroupId" + ], + "x-ms-enum": { + "name": "AttributeType", + "modelAsString": true + } + }, + "attributeValue": { + "type": "string", + "description": "The value of Attribute used for this VpnServerConfigurationPolicyGroupMember." + } + }, + "required": [ + "name", + "attributeValue" + ], + "description": "VpnServerConfiguration PolicyGroup member" + }, + "ListVpnServerConfigurationPolicyGroupsResult": { + "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "description": "List of VpnServerConfigurationPolicyGroups." + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of operation list results if there are any." + } + } + }, "P2SVpnGatewayProperties": { "properties": { "virtualHub": { @@ -7666,6 +8016,22 @@ "type": "boolean", "description": "Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not." }, + "configurationPolicyGroupAssociations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./network.json#/definitions/SubResource" + }, + "description": "List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to." + }, + "previousConfigurationPolicyGroupAssociations": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "description": "List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to." + }, "provisioningState": { "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState", From 72b8e079c136d91692f6d70f646632edc22fc54e Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Wed, 2 Feb 2022 01:49:10 -0800 Subject: [PATCH 02/14] Fix Swagger LintDiff errors --- .../stable/2021-08-01/virtualWan.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 6c54a7156a02..9ca64a20432b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7742,7 +7742,8 @@ "description": "The provisioning state of the VpnServerConfigurationPolicyGroup resource." } }, - "description": "Parameters for VpnServerConfigurationPolicyGroup." + "description": "Parameters for VpnServerConfigurationPolicyGroup.", + "type": "object" }, "VpnServerConfigurationPolicyGroup": { "properties": { @@ -7771,7 +7772,8 @@ "$ref": "./network.json#/definitions/SubResource" } ], - "description": "VpnServerConfigurationPolicyGroup Resource." + "description": "VpnServerConfigurationPolicyGroup Resource.", + "type": "object" }, "VpnServerConfigurationPolicyGroupMember": { "properties": { @@ -7801,10 +7803,12 @@ "name", "attributeValue" ], - "description": "VpnServerConfiguration PolicyGroup member" + "description": "VpnServerConfiguration PolicyGroup member", + "type": "object" }, "ListVpnServerConfigurationPolicyGroupsResult": { "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", + "type": "object", "properties": { "value": { "type": "array", From 7626576e9f16ec12871bbed722dc915633a0c929 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Wed, 2 Feb 2022 11:06:25 -0800 Subject: [PATCH 03/14] Fix LintDiff errors --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 9ca64a20432b..b45450f9d045 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7743,7 +7743,7 @@ } }, "description": "Parameters for VpnServerConfigurationPolicyGroup.", - "type": "object" + "type": "object" }, "VpnServerConfigurationPolicyGroup": { "properties": { @@ -7773,7 +7773,7 @@ } ], "description": "VpnServerConfigurationPolicyGroup Resource.", - "type": "object" + "type": "object" }, "VpnServerConfigurationPolicyGroupMember": { "properties": { @@ -7803,12 +7803,10 @@ "name", "attributeValue" ], - "description": "VpnServerConfiguration PolicyGroup member", - "type": "object" + "description": "VpnServerConfiguration PolicyGroup member" }, "ListVpnServerConfigurationPolicyGroupsResult": { "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", - "type": "object", "properties": { "value": { "type": "array", From 9d74b5329865ab222d1b917d4f8ae768da519523 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Wed, 2 Feb 2022 14:18:01 -0800 Subject: [PATCH 04/14] Fix errors --- .../stable/2021-08-01/virtualWan.json | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index b45450f9d045..08b1157aeff6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7522,10 +7522,6 @@ }, "VpnServerConfigurationProperties": { "properties": { - "name": { - "type": "string", - "description": "The name of the VpnServerConfiguration that is unique within a resource group." - }, "vpnProtocols": { "type": "array", "items": { @@ -7642,16 +7638,15 @@ "description": "Parameters for VpnServerConfiguration." }, "VpnServerConfiguration": { + "required": [ + "location" + ], "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/VpnServerConfigurationProperties", "description": "Properties of the P2SVpnServer configuration." }, - "name": { - "type": "string", - "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, "etag": { "type": "string", "readOnly": true, @@ -7742,8 +7737,7 @@ "description": "The provisioning state of the VpnServerConfigurationPolicyGroup resource." } }, - "description": "Parameters for VpnServerConfigurationPolicyGroup.", - "type": "object" + "description": "Parameters for VpnServerConfigurationPolicyGroup." }, "VpnServerConfigurationPolicyGroup": { "properties": { @@ -7772,8 +7766,7 @@ "$ref": "./network.json#/definitions/SubResource" } ], - "description": "VpnServerConfigurationPolicyGroup Resource.", - "type": "object" + "description": "VpnServerConfigurationPolicyGroup Resource." }, "VpnServerConfigurationPolicyGroupMember": { "properties": { From d51210a95bba4e56e1cf75ffa79d176c6d2bc105 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 8 Feb 2022 16:38:03 -0800 Subject: [PATCH 05/14] Fix spec --- .../stable/2021-08-01/virtualWan.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 08b1157aeff6..6c54a7156a02 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7522,6 +7522,10 @@ }, "VpnServerConfigurationProperties": { "properties": { + "name": { + "type": "string", + "description": "The name of the VpnServerConfiguration that is unique within a resource group." + }, "vpnProtocols": { "type": "array", "items": { @@ -7638,15 +7642,16 @@ "description": "Parameters for VpnServerConfiguration." }, "VpnServerConfiguration": { - "required": [ - "location" - ], "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/VpnServerConfigurationProperties", "description": "Properties of the P2SVpnServer configuration." }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, "etag": { "type": "string", "readOnly": true, From 28d41b77cfe436727bef8aa625ced284acc377b8 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 8 Feb 2022 17:49:48 -0800 Subject: [PATCH 06/14] Fix spec --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 6c54a7156a02..ed6a54570c08 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7788,7 +7788,7 @@ "RadiusAzureGroupId" ], "x-ms-enum": { - "name": "AttributeType", + "name": "VpnPolicyMemberAttributeType", "modelAsString": true } }, From e7d5a510b814674e69fa02eab297a39669c32bb1 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 8 Feb 2022 18:07:20 -0800 Subject: [PATCH 07/14] Fix spec --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 6e2459334709..4dc78b7df742 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7814,10 +7814,6 @@ "description": "The value of Attribute used for this VpnServerConfigurationPolicyGroupMember." } }, - "required": [ - "name", - "attributeValue" - ], "description": "VpnServerConfiguration PolicyGroup member" }, "ListVpnServerConfigurationPolicyGroupsResult": { From fba900e0f23bc6507abd200d1da7b0e7f119e5d0 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 15 Feb 2022 13:51:45 -0800 Subject: [PATCH 08/14] Fix LintDiff errors --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 4dc78b7df742..ea99d21a7d21 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7728,6 +7728,7 @@ "description": "VpnClientConnectionHealth properties." }, "VpnServerConfigurationPolicyGroupProperties": { + "type": "object", "properties": { "isDefault": { "type": "boolean", @@ -7762,6 +7763,7 @@ "description": "Parameters for VpnServerConfigurationPolicyGroup." }, "VpnServerConfigurationPolicyGroup": { + "type": "object", "properties": { "properties": { "x-ms-client-flatten": true, @@ -7814,7 +7816,8 @@ "description": "The value of Attribute used for this VpnServerConfigurationPolicyGroupMember." } }, - "description": "VpnServerConfiguration PolicyGroup member" + "description": "VpnServerConfiguration PolicyGroup member", + "type": "object" }, "ListVpnServerConfigurationPolicyGroupsResult": { "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", From 040af717fca52d0782fd8c994f77ea4ee3413809 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 15 Feb 2022 15:48:00 -0800 Subject: [PATCH 09/14] Fix LintDiff errors --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 3 ++- specification/network/resource-manager/readme.md | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 174919598a6e..232492c808e2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7752,7 +7752,8 @@ "items": { "$ref": "#/definitions/VpnServerConfigurationPolicyGroupMember" }, - "description": "Multiple PolicyMembers for VpnServerConfigurationPolicyGroup." + "description": "Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.", + "x-ms-identifiers": [] }, "p2SConnectionConfigurations": { "type": "array", diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 57c3b4ebbf57..d7cf2789712f 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -2266,6 +2266,9 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: dscpConfiguration.json reason: name, id and type properties are inherited from the upper level + - suppress: MissingTypeObject + from: virtualWan.json + reason: ListVpnServerConfigurationPolicyGroupsResult is not an object, its a list of objects:VpnServerConfigurationPolicyGroup ``` --- From 465fee1e4f246220895de87bfceec85fc3dd5927 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Tue, 15 Feb 2022 19:39:28 -0800 Subject: [PATCH 10/14] Fix SDK azure-sdk-for-net generation error --- .../stable/2021-08-01/virtualNetworkGateway.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json index 6bd341362c99..b5102de9738f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json @@ -3454,8 +3454,7 @@ "items": { "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" }, - "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", - "x-ms-identifiers": [] + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection." }, "useLocalAzureIpAddress": { "type": "boolean", @@ -3865,8 +3864,7 @@ "items": { "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" }, - "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", - "x-ms-identifiers": [] + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection." }, "usePolicyBasedTrafficSelectors": { "type": "boolean", From 1eb6f8286790f05314ef094caa05e78a8a1127b7 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Wed, 16 Feb 2022 11:20:15 -0800 Subject: [PATCH 11/14] Remove suppression --- specification/network/resource-manager/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index d7cf2789712f..57c3b4ebbf57 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -2266,9 +2266,6 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: dscpConfiguration.json reason: name, id and type properties are inherited from the upper level - - suppress: MissingTypeObject - from: virtualWan.json - reason: ListVpnServerConfigurationPolicyGroupsResult is not an object, its a list of objects:VpnServerConfigurationPolicyGroup ``` --- From e0ef884f583ba6b35775b085bbf037ffd7979a04 Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Thu, 17 Feb 2022 19:16:02 -0800 Subject: [PATCH 12/14] Fix errors --- ...onfigurationPolicyGroupListByVpnServerConfiguration.json | 4 +++- .../stable/2021-08-01/virtualNetworkGateway.json | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json index 16d09e4907bb..00e46a7d207c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -7,7 +7,8 @@ }, "responses": { "200": { - "body": [ + "body": { + "value": [ { "name": "policyGroup1", "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", @@ -62,3 +63,4 @@ } } } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json index b5102de9738f..6bd341362c99 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualNetworkGateway.json @@ -3454,7 +3454,8 @@ "items": { "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" }, - "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection." + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", + "x-ms-identifiers": [] }, "useLocalAzureIpAddress": { "type": "boolean", @@ -3864,7 +3865,8 @@ "items": { "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" }, - "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection." + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", + "x-ms-identifiers": [] }, "usePolicyBasedTrafficSelectors": { "type": "boolean", From 2956efe85967027b14d930378fd6aba1ff3e529d Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Fri, 18 Feb 2022 14:00:59 -0800 Subject: [PATCH 13/14] Fix Lintdiff error --- .../Microsoft.Network/stable/2021-08-01/virtualWan.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json index 232492c808e2..1198e79bb64f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json @@ -7829,6 +7829,7 @@ "type": "object" }, "ListVpnServerConfigurationPolicyGroupsResult": { + "type": "object", "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", "properties": { "value": { From ed8df0b8f3e8806bce00d74bc25a0d00de4681ba Mon Sep 17 00:00:00 2001 From: "nilamd@microsoft.com" Date: Fri, 18 Feb 2022 14:30:26 -0800 Subject: [PATCH 14/14] Fix PrettierCheck --- ...licyGroupListByVpnServerConfiguration.json | 102 +++++++++--------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json index 00e46a7d207c..d0c0627b6e4c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -9,58 +9,58 @@ "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": "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" + } + ] + } } - }, - { - "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" - } - ] - } - } - ] + ] + } } } } -}