diff --git a/Commands/network/vnet-gateway/migration/_abort.md b/Commands/network/vnet-gateway/migration/_abort.md new file mode 100644 index 000000000..d24390219 --- /dev/null +++ b/Commands/network/vnet-gateway/migration/_abort.md @@ -0,0 +1,16 @@ +# [Command] _network vnet-gateway migration abort_ + +Trigger abort migration for the virtual network gateway. + +## Versions + +### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.xml) **Stable** + + + +#### examples + +- Abort a gateway migration + ```bash + network vnet-gateway migration abort -g group -n gateway + ``` diff --git a/Commands/network/vnet-gateway/migration/_commit.md b/Commands/network/vnet-gateway/migration/_commit.md new file mode 100644 index 000000000..ccd3ca334 --- /dev/null +++ b/Commands/network/vnet-gateway/migration/_commit.md @@ -0,0 +1,16 @@ +# [Command] _network vnet-gateway migration commit_ + +Trigger commit migration for the virtual network gateway. + +## Versions + +### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.xml) **Stable** + + + +#### examples + +- Commit a gateway migration. + ```bash + network vnet-gateway migration commit -g rg -n gateway + ``` diff --git a/Commands/network/vnet-gateway/migration/_execute.md b/Commands/network/vnet-gateway/migration/_execute.md new file mode 100644 index 000000000..81b9875a0 --- /dev/null +++ b/Commands/network/vnet-gateway/migration/_execute.md @@ -0,0 +1,16 @@ +# [Command] _network vnet-gateway migration execute_ + +Trigger execute migration for the virtual network gateway. + +## Versions + +### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.xml) **Stable** + + + +#### examples + +- Execute a gateway migration. + ```bash + network vnet-gateway migration execute -g rg -n gateway + ``` diff --git a/Commands/network/vnet-gateway/migration/_prepare.md b/Commands/network/vnet-gateway/migration/_prepare.md new file mode 100644 index 000000000..e3ff6b365 --- /dev/null +++ b/Commands/network/vnet-gateway/migration/_prepare.md @@ -0,0 +1,16 @@ +# [Command] _network vnet-gateway migration prepare_ + +Trigger prepare migration for the virtual network gateway. + +## Versions + +### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.xml) **Stable** + + + +#### examples + +- Prepare a gateway migration. + ```bash + network vnet-gateway migration prepare -g rg -n gateway --migration-type UpgradeDeploymentToStandardIP --resource-url testUrl + ``` diff --git a/Commands/network/vnet-gateway/migration/readme.md b/Commands/network/vnet-gateway/migration/readme.md new file mode 100644 index 000000000..c1bceb10e --- /dev/null +++ b/Commands/network/vnet-gateway/migration/readme.md @@ -0,0 +1,17 @@ +# [Group] _network vnet-gateway migration_ + +Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment. + +## Commands + +- [abort](/Commands/network/vnet-gateway/migration/_abort.md) +: Trigger abort migration for the virtual network gateway. + +- [commit](/Commands/network/vnet-gateway/migration/_commit.md) +: Trigger commit migration for the virtual network gateway. + +- [execute](/Commands/network/vnet-gateway/migration/_execute.md) +: Trigger execute migration for the virtual network gateway. + +- [prepare](/Commands/network/vnet-gateway/migration/_prepare.md) +: Trigger prepare migration for the virtual network gateway. diff --git a/Commands/network/vnet-gateway/readme.md b/Commands/network/vnet-gateway/readme.md index ed39c7a9b..4060be9dc 100644 --- a/Commands/network/vnet-gateway/readme.md +++ b/Commands/network/vnet-gateway/readme.md @@ -15,6 +15,9 @@ To learn more about Azure Virtual Network Gateways, visit https://learn.microsof - [ipsec-policy](/Commands/network/vnet-gateway/ipsec-policy/readme.md) : Manage virtual network gateway IPSec policies. +- [migration](/Commands/network/vnet-gateway/migration/readme.md) +: Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment. + - [nat-rule](/Commands/network/vnet-gateway/nat-rule/readme.md) : Manage nat rule in a virtual network gateway. diff --git a/Commands/tree.json b/Commands/tree.json index f53b12f61..91ef2d80d 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -152261,6 +152261,142 @@ "ipsec-policy" ] }, + "migration": { + "commands": { + "abort": { + "help": { + "short": "Trigger abort migration for the virtual network gateway." + }, + "names": [ + "network", + "vnet-gateway", + "migration", + "abort" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vnet-gateway migration abort -g group -n gateway" + ], + "name": "Abort a gateway migration" + } + ], + "name": "2024-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration", + "plane": "mgmt-plane", + "version": "2024-07-01" + } + ] + } + ] + }, + "commit": { + "help": { + "short": "Trigger commit migration for the virtual network gateway." + }, + "names": [ + "network", + "vnet-gateway", + "migration", + "commit" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vnet-gateway migration commit -g rg -n gateway" + ], + "name": "Commit a gateway migration." + } + ], + "name": "2024-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration", + "plane": "mgmt-plane", + "version": "2024-07-01" + } + ] + } + ] + }, + "execute": { + "help": { + "short": "Trigger execute migration for the virtual network gateway." + }, + "names": [ + "network", + "vnet-gateway", + "migration", + "execute" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vnet-gateway migration execute -g rg -n gateway" + ], + "name": "Execute a gateway migration." + } + ], + "name": "2024-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/executemigration", + "plane": "mgmt-plane", + "version": "2024-07-01" + } + ] + } + ] + }, + "prepare": { + "help": { + "short": "Trigger prepare migration for the virtual network gateway." + }, + "names": [ + "network", + "vnet-gateway", + "migration", + "prepare" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "network vnet-gateway migration prepare -g rg -n gateway --migration-type UpgradeDeploymentToStandardIP --resource-url testUrl" + ], + "name": "Prepare a gateway migration." + } + ], + "name": "2024-07-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/preparemigration", + "plane": "mgmt-plane", + "version": "2024-07-01" + } + ] + } + ] + } + }, + "help": { + "short": "Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment." + }, + "names": [ + "network", + "vnet-gateway", + "migration" + ] + }, "nat-rule": { "commands": { "add": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.json index a2096e26f..cd7498dab 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway", "commands": [{"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}, {"type": "string", "var": "$parameters.extendedLocation.name", "options": ["edge-zone"], "group": "", "help": {"short": "The name of edge zone."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "boolean", "var": "$parameters.properties.allowRemoteVnetTraffic", "options": ["allow-remote-vnet-traffic"], "group": "", "help": {"short": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN."}}, {"type": "boolean", "var": "$parameters.properties.allowVirtualWanTraffic", "options": ["allow-vwan-traffic"], "group": "", "help": {"short": "Configures this gateway to accept traffic from remote Virtual WAN networks."}}, {"type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.max", "options": ["max-scale-unit"], "group": "", "help": {"short": "Maximum scale units for auto-scale configuration."}}, {"type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.min", "options": ["min-scale-unit"], "group": "", "help": {"short": "Minimum scale units for auto-scale configuration."}}, {"type": "boolean", "var": "$parameters.properties.enableHighBandwidthVpnGateway", "options": ["enable-high-bandwidth", "enable-high-bandwidth-vpn-gateway"], "group": "", "help": {"short": "To enable high-bandwidth Advanced Connectivity feature for VPN gateway"}}, {"type": "boolean", "var": "$parameters.properties.enablePrivateIpAddress", "options": ["enable-private-ip"], "group": "", "help": {"short": "Whether private IP needs to be enabled on this gateway for connections or not."}}, {"type": "string", "var": "$parameters.properties.gatewayDefaultSite.id", "options": ["gateway-default-site"], "group": "", "help": {"short": "Name or ID of a local network gateway representing a local network site with default routes."}}, {"type": "string", "var": "$parameters.properties.gatewayType", "options": ["gateway-type"], "group": "", "help": {"short": "The gateway type."}, "default": {"value": "Vpn"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "LocalGateway", "value": "LocalGateway"}, {"name": "Vpn", "value": "Vpn"}]}}, {"type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "", "help": {"short": "IP configurations for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "The private IP address allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress.id", "options": ["public-ip-address"], "group": "PublicIpAddress", "help": {"short": "The reference to the public IP resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.subnet.id", "options": ["subnet"], "group": "Subnet", "help": {"short": "test"}}]}}, {"type": "string", "var": "$parameters.properties.resiliencyModel", "options": ["resiliency-model"], "group": "", "help": {"short": "Indicates if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed"}, "enum": {"items": [{"name": "MultiHomed", "value": "MultiHomed"}, {"name": "SingleHomed", "value": "SingleHomed"}]}}, {"type": "string", "var": "$parameters.properties.sku.name", "options": ["sku"], "group": "", "help": {"short": "VNet gateway SKU."}, "default": {"value": "Basic"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"type": "string", "var": "$parameters.properties.vNetExtendedLocationResourceId", "options": ["edge-zone-vnet-id"], "group": "", "help": {"short": "The Extended vnet resource id of the local gateway."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-auth-type"], "group": "", "help": {"short": "VPN authentication types enabled for the virtual network gateway."}, "item": {"type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"type": "string", "var": "$parameters.properties.vpnGatewayGeneration", "options": ["vpn-gateway-generation"], "group": "", "help": {"short": "The generation for the virtual network gateway. vpn_gateway_generation should not be provided if gateway_type is not Vpn."}, "enum": {"items": [{"name": "Generation1", "value": "Generation1"}, {"name": "Generation2", "value": "Generation2"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnType", "options": ["vpn-type"], "group": "", "help": {"short": "VPN routing type."}, "default": {"value": "RouteBased"}, "enum": {"items": [{"name": "PolicyBased", "value": "PolicyBased"}, {"name": "RouteBased", "value": "RouteBased"}]}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "AAD Authentication", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["aad-audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["aad-issuer"], "group": "AAD Authentication", "help": {"short": "The AAD Issuer URI of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["aad-tenant"], "group": "AAD Authentication", "help": {"short": "The AAD Tenant URI of the VirtualNetworkGateway."}}]}, {"name": "BGP Peering", "args": [{"type": "integer64", "var": "$parameters.properties.bgpSettings.asn", "options": ["asn"], "group": "BGP Peering", "help": {"short": "Autonomous System Number to use for the BGP settings."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddress", "options": ["bgp-peering-address"], "group": "BGP Peering", "help": {"short": "IP address to use for BGP peering."}}, {"type": "integer32", "var": "$parameters.properties.bgpSettings.peerWeight", "options": ["peer-weight"], "group": "BGP Peering", "help": {"short": "Weight (0-100) added to routes learned through BGP peering."}}, {"type": "boolean", "var": "$parameters.properties.enableBgp", "options": ["enable-bgp"], "group": "BGP Peering", "help": {"short": "Enable BGP (Border Gateway Protocol)."}}]}, {"name": "BgpSettings", "args": [{"type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "options": ["bgp-peering-addresses"], "hide": true, "group": "BgpSettings", "help": {"short": "BGP peering address with IP configuration ID for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "options": ["custom-bgp-ip-addresses"], "help": {"short": "The list of custom BGP peering addresses which belong to IP configuration."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId", "options": ["ipconfiguration-id"], "help": {"short": "The ID of IP configuration which belongs to gateway."}}]}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$parameters.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Nat Rule", "args": [{"type": "array", "var": "$parameters.properties.natRules", "options": ["nat-rules"], "group": "Nat Rule", "help": {"short": "VirtualNetworkGatewayNatRule Resource.", "lines": ["Usage: --nat-rule name=rule type=Static mode=EgressSnat internal-mappings=10.4.0.0/24 external-mappings=192.168.21.0/24 ip-config-id=/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", " name: Required.The name of the resource that is unique within a resource group. This name can be used to access the resource.", " internal-mappings: Required.The private IP address internal mapping for NAT.", " external-mappings: Required.The private IP address external mapping for NAT.", " type: The type of NAT rule for VPN NAT.", " mode: The Source NAT direction of a VPN NAT.", " ip-config-id: The IP Configuration ID this NAT rule applies to."]}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "group": "", "help": {"short": "Required. The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "test"}}]}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.internalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.internalMappings[].portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "test"}}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "Properties", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, "singularOptions": ["nat-rule"]}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.extendedLocation.type", "options": ["edge-zone-type"], "group": "Properties", "help": {"short": "The type of the extended location."}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}, {"type": "boolean", "var": "$parameters.properties.activeActive", "options": ["active"], "group": "Properties", "help": {"short": "ActiveActive flag."}}, {"type": "string", "var": "$parameters.properties.adminState", "options": ["admin-state"], "hide": true, "group": "Properties", "help": {"short": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "boolean", "var": "$parameters.properties.disableIPSecReplayProtection", "options": ["disable-ip-sec-replay-protection"], "hide": true, "group": "Properties", "help": {"short": "disableIPSecReplayProtection flag."}}, {"type": "boolean", "var": "$parameters.properties.enableBgpRouteTranslationForNat", "options": ["enable-bgp-route-translation-for-nat"], "hide": true, "group": "Properties", "help": {"short": "EnableBgpRouteTranslationForNat flag."}}, {"type": "boolean", "var": "$parameters.properties.enableDnsForwarding", "options": ["enable-dns-forwarding"], "hide": true, "group": "Properties", "help": {"short": "Whether dns forwarding is enabled or not."}}, {"type": "string", "var": "$parameters.properties.sku.tier", "options": ["sku-tier"], "group": "Properties", "help": {"short": "Gateway SKU tier."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"type": "object", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "options": ["virtual-network-gateway-migration-status"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayMigrationStatus which represents the status of migration."}, "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage", "options": ["error-message"], "help": {"short": "Error if any occurs during migration."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "options": ["phase"], "help": {"short": "Represent the current migration phase of gateway."}, "enum": {"items": [{"name": "Abort", "value": "Abort"}, {"name": "AbortSucceeded", "value": "AbortSucceeded"}, {"name": "Commit", "value": "Commit"}, {"name": "CommitSucceeded", "value": "CommitSucceeded"}, {"name": "Execute", "value": "Execute"}, {"name": "ExecuteSucceeded", "value": "ExecuteSucceeded"}, {"name": "None", "value": "None"}, {"name": "Prepare", "value": "Prepare"}, {"name": "PrepareSucceeded", "value": "PrepareSucceeded"}]}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "options": ["state"], "help": {"short": "Represent the current state of gateway migration."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "None", "value": "None"}, {"name": "Succeeded", "value": "Succeeded"}]}}]}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "boolean", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "options": ["is-default"], "group": "Properties", "help": {"short": "Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not."}}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "options": ["policy-members"], "group": "Properties", "help": {"short": "Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "options": ["attribute-type"], "help": {"short": "The Vpn Policy member attribute type."}, "enum": {"items": [{"name": "AADGroupId", "value": "AADGroupId"}, {"name": "CertificateGroupId", "value": "CertificateGroupId"}, {"name": "RadiusAzureGroupId", "value": "RadiusAzureGroupId"}]}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue", "options": ["attribute-value"], "help": {"short": "The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name", "options": ["name"], "help": {"short": "Name of the VirtualNetworkGatewayPolicyGroupMember."}}]}}, {"type": "integer32", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority for VirtualNetworkGatewayPolicyGroup."}}]}}]}, {"name": "Root Cert Authentication", "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Root Cert Authentication", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "required": true, "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}, {"name": "VPN Client", "args": [{"type": "array", "var": "$parameters.properties.customRoutes.addressPrefixes", "options": ["custom-routes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the custom routes address space specified by the customer for VpnClient."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server"], "group": "VPN Client", "help": {"short": "Radius server address to connect to."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-secret"], "group": "VPN Client", "help": {"short": "Radius secret to use for authentication."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the address space for the P2S Vpnclient."}, "item": {"type": "string"}, "singularOptions": ["address-prefix"]}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["client-protocol"], "group": "VPN Client", "help": {"short": "Protocols to use for connecting. Allowed values: IkeV2, OpenVPN, SSTP."}, "item": {"type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}]}, {"name": "VpnClientConfiguration", "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "required": true, "help": {"short": "The address of this radius server."}}, {"type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "@AddressSpace_create.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}], "cls": "AddressSpace_create"}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive", "arg": "$parameters.properties.activeActive"}, {"type": "string", "name": "adminState", "arg": "$parameters.properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic", "arg": "$parameters.properties.allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic", "arg": "$parameters.properties.allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.autoScaleConfiguration.bounds.max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.autoScaleConfiguration.bounds.min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "arg": "$parameters.properties.bgpSettings.asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId"}]}}, {"type": "integer32", "name": "peerWeight", "arg": "$parameters.properties.bgpSettings.peerWeight"}]}, {"type": "object", "name": "customRoutes", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.customRoutes.addressPrefixes", "item": {"type": "string"}}]}, {"type": "boolean", "name": "disableIPSecReplayProtection", "arg": "$parameters.properties.disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp", "arg": "$parameters.properties.enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat", "arg": "$parameters.properties.enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding", "arg": "$parameters.properties.enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway", "arg": "$parameters.properties.enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress", "arg": "$parameters.properties.enablePrivateIpAddress"}, {"type": "object", "name": "gatewayDefaultSite", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.gatewayDefaultSite.id"}]}, {"type": "string", "name": "gatewayType", "arg": "$parameters.properties.gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "object", "name": "publicIPAddress", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress.id"}]}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.subnet.id"}]}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "arg": "$parameters.properties.natRules", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.externalMappings[].portRange"}]}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.internalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.internalMappings[].portRange"}]}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}, {"type": "string", "name": "resiliencyModel", "arg": "$parameters.properties.resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId", "arg": "$parameters.properties.vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage"}, {"type": "string", "name": "phase", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "required": true}, {"type": "array", "name": "policyMembers", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name"}]}}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "required": true}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_create.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_create"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "arg": "$parameters.properties.vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "arg": "$parameters.properties.vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.allowRemoteVnetTraffic", "options": ["allow-remote-vnet-traffic"], "group": "", "help": {"short": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.allowVirtualWanTraffic", "options": ["allow-vwan-traffic"], "group": "", "help": {"short": "Configures this gateway to accept traffic from remote Virtual WAN networks."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.max", "options": ["max-scale-unit"], "group": "", "help": {"short": "Maximum scale units for auto-scale configuration."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.min", "options": ["min-scale-unit"], "group": "", "help": {"short": "Minimum scale units for auto-scale configuration."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableHighBandwidthVpnGateway", "options": ["enable-advanced-connectivity"], "hide": true, "group": "", "help": {"short": "To enable Advanced Connectivity feature for VPN gateway"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enablePrivateIpAddress", "options": ["enable-private-ip"], "group": "", "help": {"short": "Whether private IP needs to be enabled on this gateway for connections or not."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gatewayDefaultSite.id", "options": ["gateway-default-site"], "group": "", "help": {"short": "Name or ID of a local network gateway representing a local network site with default routes."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gatewayType", "options": ["gateway-type"], "group": "", "help": {"short": "The gateway type."}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "LocalGateway", "value": "LocalGateway"}, {"name": "Vpn", "value": "Vpn"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.resiliencyModel", "options": ["resiliency-model"], "group": "", "help": {"short": "Indicates if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed"}, "enum": {"items": [{"name": "MultiHomed", "value": "MultiHomed"}, {"name": "SingleHomed", "value": "SingleHomed"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.sku.name", "options": ["sku"], "group": "", "help": {"short": "VNet gateway SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-auth-type"], "group": "", "help": {"short": "VPN authentication types enabled for the virtual network gateway."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnType", "options": ["vpn-type"], "group": "", "help": {"short": "VPN routing type."}, "enum": {"items": [{"name": "PolicyBased", "value": "PolicyBased"}, {"name": "RouteBased", "value": "RouteBased"}]}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "AAD Authentication", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["aad-audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["aad-issuer"], "group": "AAD Authentication", "help": {"short": "The AAD Issuer URI of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["aad-tenant"], "group": "AAD Authentication", "help": {"short": "The AAD Tenant URI of the VirtualNetworkGateway."}}]}, {"name": "BGP Peering", "args": [{"nullable": true, "type": "integer64", "var": "$parameters.properties.bgpSettings.asn", "options": ["asn"], "group": "BGP Peering", "help": {"short": "Autonomous System Number to use for the BGP settings."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"nullable": true, "type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddress", "options": ["bgp-peering-address"], "group": "BGP Peering", "help": {"short": "IP address to use for BGP peering."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.bgpSettings.peerWeight", "options": ["peer-weight"], "group": "BGP Peering", "help": {"short": "Weight (0-100) added to routes learned through BGP peering."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableBgp", "options": ["enable-bgp"], "group": "BGP Peering", "help": {"short": "Enable BGP (Border Gateway Protocol)."}}]}, {"name": "BgpSettings", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "options": ["bgp-peering-addresses"], "hide": true, "group": "BgpSettings", "help": {"short": "BGP peering address with IP configuration ID for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "options": ["custom-bgp-ip-addresses"], "help": {"short": "The list of custom BGP peering addresses which belong to IP configuration."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId", "options": ["ipconfiguration-id"], "help": {"short": "The ID of IP configuration which belongs to gateway."}}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.extendedLocation.name", "options": ["edge-zone"], "hide": true, "group": "Properties", "help": {"short": "The name of edge zone."}}, {"nullable": true, "type": "string", "var": "$parameters.extendedLocation.type", "options": ["edge-zone-type"], "hide": true, "group": "Properties", "help": {"short": "The type of the extended location."}, "default": {"value": "EdgeZone"}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.activeActive", "options": ["active"], "group": "Properties", "help": {"short": "ActiveActive flag."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.adminState", "options": ["admin-state"], "hide": true, "group": "Properties", "help": {"short": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.disableIPSecReplayProtection", "options": ["disable-ip-sec-replay-protection"], "hide": true, "group": "Properties", "help": {"short": "disableIPSecReplayProtection flag."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableBgpRouteTranslationForNat", "options": ["enable-bgp-route-translation-for-nat"], "hide": true, "group": "Properties", "help": {"short": "EnableBgpRouteTranslationForNat flag."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableDnsForwarding", "options": ["enable-dns-forwarding"], "hide": true, "group": "Properties", "help": {"short": "Whether dns forwarding is enabled or not."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configurations for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "The private IP address allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "The reference to the public IP resource."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.subnet.id", "options": ["subnet"], "group": "Subnet", "help": {"short": "test"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules", "options": ["nat-rules"], "hide": true, "group": "Properties", "help": {"short": "NatRules for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "group": "", "help": {"short": "Required. The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "array<@VpnNatRuleMapping_update>", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"nullable": true, "type": "@VpnNatRuleMapping_update"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "Properties", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.sku.tier", "options": ["sku-tier"], "group": "Properties", "help": {"short": "Gateway SKU tier."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vNetExtendedLocationResourceId", "options": ["edge-zone-vnet-id"], "hide": true, "group": "Properties", "help": {"short": "The Extended vnet resource id of the local gateway."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "options": ["virtual-network-gateway-migration-status"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayMigrationStatus which represents the status of migration."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage", "options": ["error-message"], "help": {"short": "Error if any occurs during migration."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "options": ["phase"], "help": {"short": "Represent the current migration phase of gateway."}, "enum": {"items": [{"name": "Abort", "value": "Abort"}, {"name": "AbortSucceeded", "value": "AbortSucceeded"}, {"name": "Commit", "value": "Commit"}, {"name": "CommitSucceeded", "value": "CommitSucceeded"}, {"name": "Execute", "value": "Execute"}, {"name": "ExecuteSucceeded", "value": "ExecuteSucceeded"}, {"name": "None", "value": "None"}, {"name": "Prepare", "value": "Prepare"}, {"name": "PrepareSucceeded", "value": "PrepareSucceeded"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "options": ["state"], "help": {"short": "Represent the current state of gateway migration."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "None", "value": "None"}, {"name": "Succeeded", "value": "Succeeded"}]}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "boolean", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "options": ["is-default"], "group": "Properties", "help": {"short": "Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not."}}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "options": ["policy-members"], "group": "Properties", "help": {"short": "Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "options": ["attribute-type"], "help": {"short": "The Vpn Policy member attribute type."}, "enum": {"items": [{"name": "AADGroupId", "value": "AADGroupId"}, {"name": "CertificateGroupId", "value": "CertificateGroupId"}, {"name": "RadiusAzureGroupId", "value": "RadiusAzureGroupId"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue", "options": ["attribute-value"], "help": {"short": "The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name", "options": ["name"], "help": {"short": "Name of the VirtualNetworkGatewayPolicyGroupMember."}}]}}, {"type": "integer32", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority for VirtualNetworkGatewayPolicyGroup."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnGatewayGeneration", "options": ["vpn-gateway-generation"], "hide": true, "group": "Properties", "help": {"short": "The generation for the virtual network gateway. vpn_gateway_generation should not be provided if gateway_type is not Vpn."}, "enum": {"items": [{"name": "Generation1", "value": "Generation1"}, {"name": "Generation2", "value": "Generation2"}, {"name": "None", "value": "None"}]}}]}, {"name": "Root Cert Authentication", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Root Cert Authentication", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}, {"name": "VPN Client", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.customRoutes.addressPrefixes", "options": ["custom-routes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the custom routes address space specified by the customer for VpnClient."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server"], "group": "VPN Client", "help": {"short": "Radius server address to connect to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-secret"], "group": "VPN Client", "help": {"short": "Radius secret to use for authentication."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the address space for the P2S Vpnclient."}, "item": {"nullable": true, "type": "string"}, "singularOptions": ["address-prefix"]}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["client-protocol"], "group": "VPN Client", "help": {"short": "Protocols to use for connecting. Allowed values: IkeV2, OpenVPN, SSTP."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}]}, {"name": "VpnClientConfiguration", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "help": {"short": "The address of this radius server."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array<@SubResource_update>", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"nullable": true, "type": "@SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}], "cls": "AddressSpace_update"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "group": "VpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}]}], "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive", "arg": "$parameters.properties.activeActive"}, {"type": "string", "name": "adminState", "arg": "$parameters.properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic", "arg": "$parameters.properties.allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic", "arg": "$parameters.properties.allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.autoScaleConfiguration.bounds.max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.autoScaleConfiguration.bounds.min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "arg": "$parameters.properties.bgpSettings.asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId"}]}}, {"type": "integer32", "name": "peerWeight", "arg": "$parameters.properties.bgpSettings.peerWeight"}]}, {"type": "object", "name": "customRoutes", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.customRoutes.addressPrefixes", "item": {"type": "string"}}]}, {"type": "boolean", "name": "disableIPSecReplayProtection", "arg": "$parameters.properties.disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp", "arg": "$parameters.properties.enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat", "arg": "$parameters.properties.enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding", "arg": "$parameters.properties.enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway", "arg": "$parameters.properties.enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress", "arg": "$parameters.properties.enablePrivateIpAddress"}, {"type": "object", "name": "gatewayDefaultSite", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.gatewayDefaultSite.id"}]}, {"type": "string", "name": "gatewayType", "arg": "$parameters.properties.gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "object", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.subnet.id"}]}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "arg": "$parameters.properties.natRules", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_update>", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "@VpnNatRuleMapping_update"}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}, {"type": "string", "name": "resiliencyModel", "arg": "$parameters.properties.resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId", "arg": "$parameters.properties.vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage"}, {"type": "string", "name": "phase", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "required": true}, {"type": "array", "name": "policyMembers", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name"}]}}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "required": true}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@SubResource_update>", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "arg": "$parameters.properties.vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "arg": "$parameters.properties.vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "aad", "commands": [{"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}, {"name": "AAD Authentication", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["issuer"], "group": "AAD Authentication", "help": {"short": "The AADIssuer URI of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["tenant"], "group": "AAD Authentication", "help": {"short": "The AADTenant URI of the VirtualNetworkGateway."}}]}, {"name": "Parameters.properties.vpnClientConfiguration", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server-address"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-server-secret"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "required": true, "help": {"short": "The address of this radius server."}}, {"type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}], "cls": "AddressSpace_update"}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-authentication-types"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VPN authentication types for the virtual network gateway.."}, "item": {"type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}]}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["vpn-client-protocols"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientProtocols for Virtual network gateway."}, "item": {"type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "required": true, "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration", "required": true, "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "assign", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}, {"name": "AAD Authentication", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["issuer"], "group": "AAD Authentication", "help": {"short": "The AADIssuer URI of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["tenant"], "group": "AAD Authentication", "help": {"short": "The AADTenant URI of the VirtualNetworkGateway."}}]}, {"name": "Parameters.properties.vpnClientConfiguration", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server-address"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-server-secret"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "help": {"short": "The address of this radius server."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}], "cls": "AddressSpace_update"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-authentication-types"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VPN authentication types for the virtual network gateway.."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"nullable": true, "type": "object", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["vpn-client-protocols"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientProtocols for Virtual network gateway."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration", "required": true, "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "identity", "commands": [{"name": "assign", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "parameters.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "parameters.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}, {"name": "ipsec-policy", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "add", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"]}]}, {"name": "IKE Phase 1", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "group": "IKE Phase 1", "help": {"short": "The DH Group used in initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "group": "IKE Phase 1", "help": {"short": "The IPSec encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "group": "IKE Phase 1", "help": {"short": "The IPSec integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}]}, {"name": "IKE Phase 2", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "group": "IKE Phase 2", "help": {"short": "The IKE encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "group": "IKE Phase 2", "help": {"short": "The IKE integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "group": "IKE Phase 2", "help": {"short": "The Pfs Group used for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}]}, {"name": "Security Association", "args": [{"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-max-size"], "required": true, "group": "Security Association", "help": {"short": "The payload size in KB for P2S client."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-lifetime"], "required": true, "group": "Security Association", "help": {"short": "The lifetime in seconds for P2S client."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]"}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "required": true, "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}, {"name": "IKE Phase 1", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "group": "IKE Phase 1", "help": {"short": "The DH Group used in initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "group": "IKE Phase 1", "help": {"short": "The IPSec encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "group": "IKE Phase 1", "help": {"short": "The IPSec integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}]}, {"name": "IKE Phase 2", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "group": "IKE Phase 2", "help": {"short": "The IKE encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "group": "IKE Phase 2", "help": {"short": "The IKE integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "group": "IKE Phase 2", "help": {"short": "The Pfs Group used for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}]}, {"name": "Security Association", "args": [{"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-max-size"], "group": "Security Association", "help": {"short": "The payload size in KB for P2S client."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-lifetime"], "group": "Security Association", "help": {"short": "The lifetime in seconds for P2S client."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "required": true, "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "nat-rule", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "add", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "", "help": {"short": "The type of NAT rule for VPN NAT."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].portRange", "options": ["port-range"], "help": {"short": "Port range for Vpn NatRule mapping."}}]}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.natRules[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.externalMappings[].portRange"}]}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "", "help": {"short": "The type of NAT rule for VPN NAT."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array<@VpnNatRuleMapping_update>", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"nullable": true, "type": "@VpnNatRuleMapping_update"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.natRules[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_update>", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "@VpnNatRuleMapping_update"}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "revoked-cert", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "", "help": {"short": "Certificate thumbprint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "", "help": {"short": "Certificate thumbprint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "root-cert", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["root-cert-data"], "required": true, "group": "", "help": {"short": "Base64 contents of the root certificate file or file path."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "", "help": {"short": "Base64 contents of the root certificate file or file path."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway", "commands": [{"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}, {"type": "string", "var": "$parameters.extendedLocation.name", "options": ["edge-zone"], "group": "", "help": {"short": "The name of edge zone."}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "boolean", "var": "$parameters.properties.allowRemoteVnetTraffic", "options": ["allow-remote-vnet-traffic"], "group": "", "help": {"short": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN."}}, {"type": "boolean", "var": "$parameters.properties.allowVirtualWanTraffic", "options": ["allow-vwan-traffic"], "group": "", "help": {"short": "Configures this gateway to accept traffic from remote Virtual WAN networks."}}, {"type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.max", "options": ["max-scale-unit"], "group": "", "help": {"short": "Maximum scale units for auto-scale configuration."}}, {"type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.min", "options": ["min-scale-unit"], "group": "", "help": {"short": "Minimum scale units for auto-scale configuration."}}, {"type": "boolean", "var": "$parameters.properties.enableHighBandwidthVpnGateway", "options": ["enable-high-bandwidth", "enable-high-bandwidth-vpn-gateway"], "group": "", "help": {"short": "To enable Advanced Connectivity feature for VPN gateway"}}, {"type": "boolean", "var": "$parameters.properties.enablePrivateIpAddress", "options": ["enable-private-ip"], "group": "", "help": {"short": "Whether private IP needs to be enabled on this gateway for connections or not."}}, {"type": "string", "var": "$parameters.properties.gatewayDefaultSite.id", "options": ["gateway-default-site"], "group": "", "help": {"short": "Name or ID of a local network gateway representing a local network site with default routes."}}, {"type": "string", "var": "$parameters.properties.gatewayType", "options": ["gateway-type"], "group": "", "help": {"short": "The gateway type."}, "default": {"value": "Vpn"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "LocalGateway", "value": "LocalGateway"}, {"name": "Vpn", "value": "Vpn"}]}}, {"type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "", "help": {"short": "IP configurations for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "The private IP address allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress.id", "options": ["public-ip-address"], "group": "PublicIpAddress", "help": {"short": "The reference to the public IP resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.subnet.id", "options": ["subnet"], "group": "Subnet", "help": {"short": "test"}}]}}, {"type": "string", "var": "$parameters.properties.resiliencyModel", "options": ["resiliency-model"], "group": "", "help": {"short": "Indicates if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed"}, "enum": {"items": [{"name": "MultiHomed", "value": "MultiHomed"}, {"name": "SingleHomed", "value": "SingleHomed"}]}}, {"type": "string", "var": "$parameters.properties.sku.name", "options": ["sku"], "group": "", "help": {"short": "VNet gateway SKU."}, "default": {"value": "Basic"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"type": "string", "var": "$parameters.properties.vNetExtendedLocationResourceId", "options": ["edge-zone-vnet-id"], "group": "", "help": {"short": "The Extended vnet resource id of the local gateway."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-auth-type"], "group": "", "help": {"short": "VPN authentication types enabled for the virtual network gateway."}, "item": {"type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"type": "string", "var": "$parameters.properties.vpnGatewayGeneration", "options": ["vpn-gateway-generation"], "group": "", "help": {"short": "The generation for the virtual network gateway. vpn_gateway_generation should not be provided if gateway_type is not Vpn."}, "enum": {"items": [{"name": "Generation1", "value": "Generation1"}, {"name": "Generation2", "value": "Generation2"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnType", "options": ["vpn-type"], "group": "", "help": {"short": "VPN routing type."}, "default": {"value": "RouteBased"}, "enum": {"items": [{"name": "PolicyBased", "value": "PolicyBased"}, {"name": "RouteBased", "value": "RouteBased"}]}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "AAD Authentication", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["aad-audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["aad-issuer"], "group": "AAD Authentication", "help": {"short": "The AAD Issuer URI of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["aad-tenant"], "group": "AAD Authentication", "help": {"short": "The AAD Tenant URI of the VirtualNetworkGateway."}}]}, {"name": "BGP Peering", "args": [{"type": "integer64", "var": "$parameters.properties.bgpSettings.asn", "options": ["asn"], "group": "BGP Peering", "help": {"short": "Autonomous System Number to use for the BGP settings."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddress", "options": ["bgp-peering-address"], "group": "BGP Peering", "help": {"short": "IP address to use for BGP peering."}}, {"type": "integer32", "var": "$parameters.properties.bgpSettings.peerWeight", "options": ["peer-weight"], "group": "BGP Peering", "help": {"short": "Weight (0-100) added to routes learned through BGP peering."}}, {"type": "boolean", "var": "$parameters.properties.enableBgp", "options": ["enable-bgp"], "group": "BGP Peering", "help": {"short": "Enable BGP (Border Gateway Protocol)."}}]}, {"name": "BgpSettings", "args": [{"type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "options": ["bgp-peering-addresses"], "hide": true, "group": "BgpSettings", "help": {"short": "BGP peering address with IP configuration ID for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "options": ["custom-bgp-ip-addresses"], "help": {"short": "The list of custom BGP peering addresses which belong to IP configuration."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId", "options": ["ipconfiguration-id"], "help": {"short": "The ID of IP configuration which belongs to gateway."}}]}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$parameters.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Nat Rule", "args": [{"type": "array", "var": "$parameters.properties.natRules", "options": ["nat-rules"], "group": "Nat Rule", "help": {"short": "VirtualNetworkGatewayNatRule Resource.", "lines": ["Usage: --nat-rule name=rule type=Static mode=EgressSnat internal-mappings=10.4.0.0/24 external-mappings=192.168.21.0/24 ip-config-id=/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", " name: Required.The name of the resource that is unique within a resource group. This name can be used to access the resource.", " internal-mappings: Required.The private IP address internal mapping for NAT.", " external-mappings: Required.The private IP address external mapping for NAT.", " type: The type of NAT rule for VPN NAT.", " mode: The Source NAT direction of a VPN NAT.", " ip-config-id: The IP Configuration ID this NAT rule applies to."]}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "group": "", "help": {"short": "Required. The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "test"}}]}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.internalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.internalMappings[].portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "test"}}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "Properties", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, "singularOptions": ["nat-rule"]}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$parameters.extendedLocation.type", "options": ["edge-zone-type"], "group": "Properties", "help": {"short": "The type of the extended location."}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}, {"type": "boolean", "var": "$parameters.properties.activeActive", "options": ["active"], "group": "Properties", "help": {"short": "ActiveActive flag."}}, {"type": "string", "var": "$parameters.properties.adminState", "options": ["admin-state"], "hide": true, "group": "Properties", "help": {"short": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "boolean", "var": "$parameters.properties.disableIPSecReplayProtection", "options": ["disable-ip-sec-replay-protection"], "hide": true, "group": "Properties", "help": {"short": "disableIPSecReplayProtection flag."}}, {"type": "boolean", "var": "$parameters.properties.enableBgpRouteTranslationForNat", "options": ["enable-bgp-route-translation-for-nat"], "hide": true, "group": "Properties", "help": {"short": "EnableBgpRouteTranslationForNat flag."}}, {"type": "boolean", "var": "$parameters.properties.enableDnsForwarding", "options": ["enable-dns-forwarding"], "hide": true, "group": "Properties", "help": {"short": "Whether dns forwarding is enabled or not."}}, {"type": "string", "var": "$parameters.properties.sku.tier", "options": ["sku-tier"], "group": "Properties", "help": {"short": "Gateway SKU tier."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"type": "object", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "options": ["virtual-network-gateway-migration-status"], "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayMigrationStatus which represents the status of migration."}, "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage", "options": ["error-message"], "help": {"short": "Error if any occurs during migration."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "options": ["phase"], "help": {"short": "Represent the current migration phase of gateway."}, "enum": {"items": [{"name": "Abort", "value": "Abort"}, {"name": "AbortSucceeded", "value": "AbortSucceeded"}, {"name": "Commit", "value": "Commit"}, {"name": "CommitSucceeded", "value": "CommitSucceeded"}, {"name": "Execute", "value": "Execute"}, {"name": "ExecuteSucceeded", "value": "ExecuteSucceeded"}, {"name": "None", "value": "None"}, {"name": "Prepare", "value": "Prepare"}, {"name": "PrepareSucceeded", "value": "PrepareSucceeded"}]}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "options": ["state"], "help": {"short": "Represent the current state of gateway migration."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "None", "value": "None"}, {"name": "Succeeded", "value": "Succeeded"}]}}]}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "boolean", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "options": ["is-default"], "group": "Properties", "help": {"short": "Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not."}}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "options": ["policy-members"], "group": "Properties", "help": {"short": "Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "options": ["attribute-type"], "help": {"short": "The Vpn Policy member attribute type."}, "enum": {"items": [{"name": "AADGroupId", "value": "AADGroupId"}, {"name": "CertificateGroupId", "value": "CertificateGroupId"}, {"name": "RadiusAzureGroupId", "value": "RadiusAzureGroupId"}]}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue", "options": ["attribute-value"], "help": {"short": "The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember."}}, {"type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name", "options": ["name"], "help": {"short": "Name of the VirtualNetworkGatewayPolicyGroupMember."}}]}}, {"type": "integer32", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority for VirtualNetworkGatewayPolicyGroup."}}]}}]}, {"name": "Root Cert Authentication", "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Root Cert Authentication", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "required": true, "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}, {"name": "VPN Client", "args": [{"type": "array", "var": "$parameters.properties.customRoutes.addressPrefixes", "options": ["custom-routes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the custom routes address space specified by the customer for VpnClient."}, "item": {"type": "string"}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server"], "group": "VPN Client", "help": {"short": "Radius server address to connect to."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-secret"], "group": "VPN Client", "help": {"short": "Radius secret to use for authentication."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the address space for the P2S Vpnclient."}, "item": {"type": "string"}, "singularOptions": ["address-prefix"]}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["client-protocol"], "group": "VPN Client", "help": {"short": "Protocols to use for connecting. Allowed values: IkeV2, OpenVPN, SSTP."}, "item": {"type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}]}, {"name": "VpnClientConfiguration", "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "required": true, "help": {"short": "The address of this radius server."}}, {"type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "@AddressSpace_create.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}], "cls": "AddressSpace_create"}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive", "arg": "$parameters.properties.activeActive"}, {"type": "string", "name": "adminState", "arg": "$parameters.properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic", "arg": "$parameters.properties.allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic", "arg": "$parameters.properties.allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.autoScaleConfiguration.bounds.max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.autoScaleConfiguration.bounds.min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "arg": "$parameters.properties.bgpSettings.asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId"}]}}, {"type": "integer32", "name": "peerWeight", "arg": "$parameters.properties.bgpSettings.peerWeight"}]}, {"type": "object", "name": "customRoutes", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.customRoutes.addressPrefixes", "item": {"type": "string"}}]}, {"type": "boolean", "name": "disableIPSecReplayProtection", "arg": "$parameters.properties.disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp", "arg": "$parameters.properties.enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat", "arg": "$parameters.properties.enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding", "arg": "$parameters.properties.enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway", "arg": "$parameters.properties.enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress", "arg": "$parameters.properties.enablePrivateIpAddress"}, {"type": "object", "name": "gatewayDefaultSite", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.gatewayDefaultSite.id"}]}, {"type": "string", "name": "gatewayType", "arg": "$parameters.properties.gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "object", "name": "publicIPAddress", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress.id"}]}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.subnet.id"}]}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "arg": "$parameters.properties.natRules", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.externalMappings[].portRange"}]}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.internalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.internalMappings[].portRange"}]}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}, {"type": "string", "name": "resiliencyModel", "arg": "$parameters.properties.resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId", "arg": "$parameters.properties.vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage"}, {"type": "string", "name": "phase", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "required": true}, {"type": "array", "name": "policyMembers", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name"}]}}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "required": true}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_create.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_create"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "arg": "$parameters.properties.vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "arg": "$parameters.properties.vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "hide": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.allowRemoteVnetTraffic", "options": ["allow-remote-vnet-traffic"], "group": "", "help": {"short": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.allowVirtualWanTraffic", "options": ["allow-vwan-traffic"], "group": "", "help": {"short": "Configures this gateway to accept traffic from remote Virtual WAN networks."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.max", "options": ["max-scale-unit"], "group": "", "help": {"short": "Maximum scale units for auto-scale configuration."}}, {"nullable": true, "type": "integer", "var": "$parameters.properties.autoScaleConfiguration.bounds.min", "options": ["min-scale-unit"], "group": "", "help": {"short": "Minimum scale units for auto-scale configuration."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableHighBandwidthVpnGateway", "options": ["enable-high-bandwidth", "enable-high-bandwidth-vpn-gateway"], "group": "", "help": {"short": "To enable Advanced Connectivity feature for VPN gateway"}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enablePrivateIpAddress", "options": ["enable-private-ip"], "group": "", "help": {"short": "Whether private IP needs to be enabled on this gateway for connections or not."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gatewayDefaultSite.id", "options": ["gateway-default-site"], "group": "", "help": {"short": "Name or ID of a local network gateway representing a local network site with default routes."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.gatewayType", "options": ["gateway-type"], "group": "", "help": {"short": "The gateway type."}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "LocalGateway", "value": "LocalGateway"}, {"name": "Vpn", "value": "Vpn"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.resiliencyModel", "options": ["resiliency-model"], "group": "", "help": {"short": "Indicates if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed"}, "enum": {"items": [{"name": "MultiHomed", "value": "MultiHomed"}, {"name": "SingleHomed", "value": "SingleHomed"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.sku.name", "options": ["sku"], "group": "", "help": {"short": "VNet gateway SKU."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-auth-type"], "group": "", "help": {"short": "VPN authentication types enabled for the virtual network gateway."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnType", "options": ["vpn-type"], "group": "", "help": {"short": "VPN routing type."}, "enum": {"items": [{"name": "PolicyBased", "value": "PolicyBased"}, {"name": "RouteBased", "value": "RouteBased"}]}}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]. Use \"\" to clear existing tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "AAD Authentication", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["aad-audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["aad-issuer"], "group": "AAD Authentication", "help": {"short": "The AAD Issuer URI of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["aad-tenant"], "group": "AAD Authentication", "help": {"short": "The AAD Tenant URI of the VirtualNetworkGateway."}}]}, {"name": "BGP Peering", "args": [{"nullable": true, "type": "integer64", "var": "$parameters.properties.bgpSettings.asn", "options": ["asn"], "group": "BGP Peering", "help": {"short": "Autonomous System Number to use for the BGP settings."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"nullable": true, "type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddress", "options": ["bgp-peering-address"], "group": "BGP Peering", "help": {"short": "IP address to use for BGP peering."}}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.bgpSettings.peerWeight", "options": ["peer-weight"], "group": "BGP Peering", "help": {"short": "Weight (0-100) added to routes learned through BGP peering."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableBgp", "options": ["enable-bgp"], "group": "BGP Peering", "help": {"short": "Enable BGP (Border Gateway Protocol)."}}]}, {"name": "BgpSettings", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "options": ["bgp-peering-addresses"], "hide": true, "group": "BgpSettings", "help": {"short": "BGP peering address with IP configuration ID for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "options": ["custom-bgp-ip-addresses"], "help": {"short": "The list of custom BGP peering addresses which belong to IP configuration."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId", "options": ["ipconfiguration-id"], "help": {"short": "The ID of IP configuration which belongs to gateway."}}]}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$parameters.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$parameters.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$parameters.extendedLocation.name", "options": ["edge-zone"], "hide": true, "group": "Properties", "help": {"short": "The name of edge zone."}}, {"nullable": true, "type": "string", "var": "$parameters.extendedLocation.type", "options": ["edge-zone-type"], "hide": true, "group": "Properties", "help": {"short": "The type of the extended location."}, "default": {"value": "EdgeZone"}, "enum": {"items": [{"name": "EdgeZone", "value": "EdgeZone"}]}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.activeActive", "options": ["active"], "group": "Properties", "help": {"short": "ActiveActive flag."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.adminState", "options": ["admin-state"], "hide": true, "group": "Properties", "help": {"short": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet"}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.disableIPSecReplayProtection", "options": ["disable-ip-sec-replay-protection"], "hide": true, "group": "Properties", "help": {"short": "disableIPSecReplayProtection flag."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableBgpRouteTranslationForNat", "options": ["enable-bgp-route-translation-for-nat"], "hide": true, "group": "Properties", "help": {"short": "EnableBgpRouteTranslationForNat flag."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableDnsForwarding", "options": ["enable-dns-forwarding"], "hide": true, "group": "Properties", "help": {"short": "Whether dns forwarding is enabled or not."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configurations for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "The private IP address allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "The reference to the public IP resource."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.subnet.id", "options": ["subnet"], "group": "Subnet", "help": {"short": "test"}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules", "options": ["nat-rules"], "hide": true, "group": "Properties", "help": {"short": "NatRules for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "group": "", "help": {"short": "Required. The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "array<@VpnNatRuleMapping_update>", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"nullable": true, "type": "@VpnNatRuleMapping_update"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "Properties", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "Properties", "help": {"short": "The IP Configuration ID this NAT rule applies to."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.sku.tier", "options": ["sku-tier"], "group": "Properties", "help": {"short": "Gateway SKU tier."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "ErGw1AZ", "value": "ErGw1AZ"}, {"name": "ErGw2AZ", "value": "ErGw2AZ"}, {"name": "ErGw3AZ", "value": "ErGw3AZ"}, {"name": "ErGwScale", "value": "ErGwScale"}, {"name": "HighPerformance", "value": "HighPerformance"}, {"name": "Standard", "value": "Standard"}, {"name": "UltraPerformance", "value": "UltraPerformance"}, {"name": "VpnGw1", "value": "VpnGw1"}, {"name": "VpnGw1AZ", "value": "VpnGw1AZ"}, {"name": "VpnGw2", "value": "VpnGw2"}, {"name": "VpnGw2AZ", "value": "VpnGw2AZ"}, {"name": "VpnGw3", "value": "VpnGw3"}, {"name": "VpnGw3AZ", "value": "VpnGw3AZ"}, {"name": "VpnGw4", "value": "VpnGw4"}, {"name": "VpnGw4AZ", "value": "VpnGw4AZ"}, {"name": "VpnGw5", "value": "VpnGw5"}, {"name": "VpnGw5AZ", "value": "VpnGw5AZ"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vNetExtendedLocationResourceId", "options": ["edge-zone-vnet-id"], "hide": true, "group": "Properties", "help": {"short": "The Extended vnet resource id of the local gateway."}}, {"nullable": true, "type": "object", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "options": ["virtual-network-gateway-migration-status"], "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayMigrationStatus which represents the status of migration."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage", "options": ["error-message"], "help": {"short": "Error if any occurs during migration."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "options": ["phase"], "help": {"short": "Represent the current migration phase of gateway."}, "enum": {"items": [{"name": "Abort", "value": "Abort"}, {"name": "AbortSucceeded", "value": "AbortSucceeded"}, {"name": "Commit", "value": "Commit"}, {"name": "CommitSucceeded", "value": "CommitSucceeded"}, {"name": "Execute", "value": "Execute"}, {"name": "ExecuteSucceeded", "value": "ExecuteSucceeded"}, {"name": "None", "value": "None"}, {"name": "Prepare", "value": "Prepare"}, {"name": "PrepareSucceeded", "value": "PrepareSucceeded"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "options": ["state"], "help": {"short": "Represent the current state of gateway migration."}, "enum": {"items": [{"name": "Failed", "value": "Failed"}, {"name": "InProgress", "value": "InProgress"}, {"name": "None", "value": "None"}, {"name": "Succeeded", "value": "Succeeded"}]}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "hide": true, "group": "Properties", "help": {"short": "The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "boolean", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "options": ["is-default"], "group": "Properties", "help": {"short": "Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not."}}, {"type": "array", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "options": ["policy-members"], "group": "Properties", "help": {"short": "Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "options": ["attribute-type"], "help": {"short": "The Vpn Policy member attribute type."}, "enum": {"items": [{"name": "AADGroupId", "value": "AADGroupId"}, {"name": "CertificateGroupId", "value": "CertificateGroupId"}, {"name": "RadiusAzureGroupId", "value": "RadiusAzureGroupId"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue", "options": ["attribute-value"], "help": {"short": "The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name", "options": ["name"], "help": {"short": "Name of the VirtualNetworkGatewayPolicyGroupMember."}}]}}, {"type": "integer32", "var": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "options": ["priority"], "group": "Properties", "help": {"short": "Priority for VirtualNetworkGatewayPolicyGroup."}}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnGatewayGeneration", "options": ["vpn-gateway-generation"], "hide": true, "group": "Properties", "help": {"short": "The generation for the virtual network gateway. vpn_gateway_generation should not be provided if gateway_type is not Vpn."}, "enum": {"items": [{"name": "Generation1", "value": "Generation1"}, {"name": "Generation2", "value": "Generation2"}, {"name": "None", "value": "None"}]}}]}, {"name": "Root Cert Authentication", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Root Cert Authentication", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}, {"name": "VPN Client", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.customRoutes.addressPrefixes", "options": ["custom-routes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the custom routes address space specified by the customer for VpnClient."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server"], "group": "VPN Client", "help": {"short": "Radius server address to connect to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-secret"], "group": "VPN Client", "help": {"short": "Radius secret to use for authentication."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "group": "VPN Client", "help": {"short": "Space-separated list of CIDR prefixes representing the address space for the P2S Vpnclient."}, "item": {"nullable": true, "type": "string"}, "singularOptions": ["address-prefix"]}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["client-protocol"], "group": "VPN Client", "help": {"short": "Protocols to use for connecting. Allowed values: IkeV2, OpenVPN, SSTP."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}]}, {"name": "VpnClientConfiguration", "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "help": {"short": "The address of this radius server."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array<@SubResource_update>", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"nullable": true, "type": "@SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}], "cls": "AddressSpace_update"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "group": "VpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "VpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}]}], "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$parameters.extendedLocation.name"}, {"type": "string", "name": "type", "arg": "$parameters.extendedLocation.type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$parameters.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$parameters.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive", "arg": "$parameters.properties.activeActive"}, {"type": "string", "name": "adminState", "arg": "$parameters.properties.adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic", "arg": "$parameters.properties.allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic", "arg": "$parameters.properties.allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max", "arg": "$parameters.properties.autoScaleConfiguration.bounds.max"}, {"type": "integer", "name": "min", "arg": "$parameters.properties.autoScaleConfiguration.bounds.min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "arg": "$parameters.properties.bgpSettings.asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].customBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId", "arg": "$parameters.properties.bgpSettings.bgpPeeringAddresses[].ipconfigurationId"}]}}, {"type": "integer32", "name": "peerWeight", "arg": "$parameters.properties.bgpSettings.peerWeight"}]}, {"type": "object", "name": "customRoutes", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.customRoutes.addressPrefixes", "item": {"type": "string"}}]}, {"type": "boolean", "name": "disableIPSecReplayProtection", "arg": "$parameters.properties.disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp", "arg": "$parameters.properties.enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat", "arg": "$parameters.properties.enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding", "arg": "$parameters.properties.enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway", "arg": "$parameters.properties.enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress", "arg": "$parameters.properties.enablePrivateIpAddress"}, {"type": "object", "name": "gatewayDefaultSite", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.gatewayDefaultSite.id"}]}, {"type": "string", "name": "gatewayType", "arg": "$parameters.properties.gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "object", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].properties.subnet.id"}]}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "arg": "$parameters.properties.natRules", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_update>", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "@VpnNatRuleMapping_update"}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}, {"type": "string", "name": "resiliencyModel", "arg": "$parameters.properties.resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"type": "object", "name": "sku", "props": [{"type": "string", "name": "name", "arg": "$parameters.properties.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "arg": "$parameters.properties.sku.tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId", "arg": "$parameters.properties.vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.errorMessage"}, {"type": "string", "name": "phase", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "arg": "$parameters.properties.virtualNetworkGatewayMigrationStatus.state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.isDefault", "required": true}, {"type": "array", "name": "policyMembers", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].attributeValue"}, {"type": "string", "name": "name", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.policyMembers[].name"}]}}, {"type": "integer32", "name": "priority", "arg": "$parameters.properties.virtualNetworkGatewayPolicyGroups[].properties.priority", "required": true}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@SubResource_update>", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "arg": "$parameters.properties.vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "arg": "$parameters.properties.vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "aad", "commands": [{"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}, {"name": "AAD Authentication", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["issuer"], "group": "AAD Authentication", "help": {"short": "The AADIssuer URI of the VirtualNetworkGateway."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["tenant"], "group": "AAD Authentication", "help": {"short": "The AADTenant URI of the VirtualNetworkGateway."}}]}, {"name": "Parameters.properties.vpnClientConfiguration", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server-address"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-server-secret"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "required": true, "help": {"short": "The address of this radius server."}}, {"type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"type": "object", "args": [{"type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}], "cls": "AddressSpace_update"}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-authentication-types"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VPN authentication types for the virtual network gateway.."}, "item": {"type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}]}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "required": true, "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["vpn-client-protocols"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientProtocols for Virtual network gateway."}, "item": {"type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "required": true, "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration", "required": true, "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "assign", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}, {"name": "AAD Authentication", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadAudience", "options": ["audience"], "group": "AAD Authentication", "help": {"short": "The AADAudience ID of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadIssuer", "options": ["issuer"], "group": "AAD Authentication", "help": {"short": "The AADIssuer URI of the VirtualNetworkGateway."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.aadTenant", "options": ["tenant"], "group": "AAD Authentication", "help": {"short": "The AADTenant URI of the VirtualNetworkGateway."}}]}, {"name": "Parameters.properties.vpnClientConfiguration", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerAddress", "options": ["radius-server-address"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServerSecret", "options": ["radius-server-secret"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.radiusServers", "options": ["radius-servers"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The radiusServers property for multiple radius server configuration."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "options": ["radius-server-address"], "help": {"short": "The address of this radius server."}}, {"nullable": true, "type": "integer64", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore", "options": ["radius-server-score"], "help": {"short": "The initial score assigned to this radius server."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret", "options": ["radius-server-secret"], "help": {"short": "The secret used for this radius server."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "options": ["vng-client-connection-configurations"], "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "per ip address pool connection policy for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "options": ["virtual-network-gateway-policy-groups"], "group": "Properties", "help": {"short": "List of references to virtualNetworkGatewayPolicyGroups"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}}, {"type": "object", "var": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "group": "Properties", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}], "cls": "AddressSpace_update"}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "options": ["vpn-authentication-types"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VPN authentication types for the virtual network gateway.."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "AAD", "value": "AAD"}, {"name": "Certificate", "value": "Certificate"}, {"name": "Radius", "value": "Radius"}]}}}, {"nullable": true, "type": "object", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "options": ["vpn-client-address-pool"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "The reference to the address space resource which represents Address space for P2S VpnClient."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}]}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "options": ["vpn-client-ipsec-policies"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientIpsecPolicies for virtual network gateway P2S client."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "help": {"short": "The DH Group used in IKE Phase 1 for initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "help": {"short": "The IKE encryption algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "help": {"short": "The IKE integrity algorithm (IKE phase 2)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "help": {"short": "The IPSec encryption algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "help": {"short": "The IPSec integrity algorithm (IKE phase 1)."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "help": {"short": "The Pfs Group used in IKE Phase 2 for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-data-size-kilobytes"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-life-time-seconds"], "help": {"short": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "options": ["vpn-client-protocols"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientProtocols for Virtual network gateway."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "IkeV2", "value": "IkeV2"}, {"name": "OpenVPN", "value": "OpenVPN"}, {"name": "SSTP", "value": "SSTP"}]}}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "options": ["vpn-client-revoked-certificates"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRevokedCertificate for Virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "Properties", "help": {"short": "The revoked VPN client certificate thumbprint."}}]}}, {"nullable": true, "type": "array", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "options": ["vpn-client-root-certificates"], "hide": true, "group": "Parameters.properties.vpnClientConfiguration", "help": {"short": "VpnClientRootCertificate for virtual network gateway."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "Properties", "help": {"short": "The certificate public data."}}]}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration", "required": true, "props": [{"type": "string", "name": "aadAudience", "arg": "$parameters.properties.vpnClientConfiguration.aadAudience"}, {"type": "string", "name": "aadIssuer", "arg": "$parameters.properties.vpnClientConfiguration.aadIssuer"}, {"type": "string", "name": "aadTenant", "arg": "$parameters.properties.vpnClientConfiguration.aadTenant"}, {"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServerSecret"}, {"type": "array", "name": "radiusServers", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerScore"}, {"type": "string", "name": "radiusServerSecret", "arg": "$parameters.properties.vpnClientConfiguration.radiusServers[].radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vngClientConnectionConfigurations[].properties.vpnClientAddressPool", "required": true, "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "arg": "$parameters.properties.vpnClientConfiguration.vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientAddressPool.addressPrefixes", "item": {"type": "string"}}]}, {"type": "array", "name": "vpnClientIpsecPolicies", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "properties.vpnClientConfiguration"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "identity", "commands": [{"name": "assign", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "parameters.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}, {"name": "Parameters.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$parameters.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Parameters.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$parameters.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Parameters.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "parameters.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$parameters.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$parameters.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "identity", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the VNet gateway."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}, {"name": "ipsec-policy", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "add", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"]}]}, {"name": "IKE Phase 1", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "required": true, "group": "IKE Phase 1", "help": {"short": "The DH Group used in initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "required": true, "group": "IKE Phase 1", "help": {"short": "The IPSec encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "required": true, "group": "IKE Phase 1", "help": {"short": "The IPSec integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}]}, {"name": "IKE Phase 2", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "required": true, "group": "IKE Phase 2", "help": {"short": "The IKE encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "required": true, "group": "IKE Phase 2", "help": {"short": "The IKE integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "required": true, "group": "IKE Phase 2", "help": {"short": "The Pfs Group used for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}]}, {"name": "Security Association", "args": [{"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-max-size"], "required": true, "group": "Security Association", "help": {"short": "The payload size in KB for P2S client."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-lifetime"], "required": true, "group": "Security Association", "help": {"short": "The lifetime in seconds for P2S client."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]"}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "required": true, "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}, {"name": "IKE Phase 1", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "options": ["dh-group"], "group": "IKE Phase 1", "help": {"short": "The DH Group used in initial SA."}, "enum": {"items": [{"name": "DHGroup1", "value": "DHGroup1"}, {"name": "DHGroup14", "value": "DHGroup14"}, {"name": "DHGroup2", "value": "DHGroup2"}, {"name": "DHGroup2048", "value": "DHGroup2048"}, {"name": "DHGroup24", "value": "DHGroup24"}, {"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "options": ["ipsec-encryption"], "group": "IKE Phase 1", "help": {"short": "The IPSec encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "None", "value": "None"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "options": ["ipsec-integrity"], "group": "IKE Phase 1", "help": {"short": "The IPSec integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES192", "value": "GCMAES192"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}]}}]}, {"name": "IKE Phase 2", "args": [{"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "options": ["ike-encryption"], "group": "IKE Phase 2", "help": {"short": "The IKE encryption algorithm."}, "enum": {"items": [{"name": "AES128", "value": "AES128"}, {"name": "AES192", "value": "AES192"}, {"name": "AES256", "value": "AES256"}, {"name": "DES", "value": "DES"}, {"name": "DES3", "value": "DES3"}, {"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "options": ["ike-integrity"], "group": "IKE Phase 2", "help": {"short": "The IKE integrity algorithm."}, "enum": {"items": [{"name": "GCMAES128", "value": "GCMAES128"}, {"name": "GCMAES256", "value": "GCMAES256"}, {"name": "MD5", "value": "MD5"}, {"name": "SHA1", "value": "SHA1"}, {"name": "SHA256", "value": "SHA256"}, {"name": "SHA384", "value": "SHA384"}]}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "options": ["pfs-group"], "group": "IKE Phase 2", "help": {"short": "The Pfs Group used for new child SA."}, "enum": {"items": [{"name": "ECP256", "value": "ECP256"}, {"name": "ECP384", "value": "ECP384"}, {"name": "None", "value": "None"}, {"name": "PFS1", "value": "PFS1"}, {"name": "PFS14", "value": "PFS14"}, {"name": "PFS2", "value": "PFS2"}, {"name": "PFS2048", "value": "PFS2048"}, {"name": "PFS24", "value": "PFS24"}, {"name": "PFSMM", "value": "PFSMM"}]}}]}, {"name": "Security Association", "args": [{"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "options": ["sa-max-size"], "group": "Security Association", "help": {"short": "The payload size in KB for P2S client."}}, {"type": "integer32", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "options": ["sa-lifetime"], "group": "Security Association", "help": {"short": "The lifetime in seconds for P2S client."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "required": true, "props": [{"type": "string", "name": "dhGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[].saLifeTimeSeconds", "required": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientIpsecPolicies[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "integer", "var": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "options": ["vpn-client-ipsec-policy-index"], "required": true}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientIpsecPolicies", "item": {"type": "object"}, "identifiers": [{"type": "integer", "name": "[Index]", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientIpsecPolicies[Index]", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "nat-rule", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "add", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "", "help": {"short": "The type of NAT rule for VPN NAT."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "$parameters.properties.natRules[].properties.externalMappings[].portRange", "options": ["port-range"], "help": {"short": "Port range for Vpn NatRule mapping."}}]}}, {"type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"type": "object", "args": [{"type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.natRules[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "$parameters.properties.natRules[].properties.externalMappings[].addressSpace"}, {"type": "string", "name": "portRange", "arg": "$parameters.properties.natRules[].properties.externalMappings[].portRange"}]}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "ResourceId", "var": "$parameters.properties.natRules[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.ipConfigurationId", "options": ["ip-config-id"], "group": "", "help": {"short": "The IP Configuration ID this NAT rule applies to."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.mode", "options": ["mode"], "group": "", "help": {"short": "The Source NAT direction of a VPN NAT."}, "enum": {"items": [{"name": "EgressSnat", "value": "EgressSnat"}, {"name": "IngressSnat", "value": "IngressSnat"}]}}, {"nullable": true, "type": "string", "var": "$parameters.properties.natRules[].properties.type", "options": ["type"], "group": "", "help": {"short": "The type of NAT rule for VPN NAT."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array<@VpnNatRuleMapping_update>", "var": "$parameters.properties.natRules[].properties.externalMappings", "options": ["external-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address external mapping for NAT."}, "item": {"nullable": true, "type": "@VpnNatRuleMapping_update"}}, {"nullable": true, "type": "array", "var": "$parameters.properties.natRules[].properties.internalMappings", "options": ["internal-mappings-ip"], "group": "Properties", "help": {"short": "The private IP address internal mapping for NAT."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.addressSpace", "options": ["address-space"], "help": {"short": "Address space for Vpn NatRule mapping."}}, {"nullable": true, "type": "string", "var": "@VpnNatRuleMapping_update.portRange", "options": ["port-range"], "hide": true, "group": "", "help": {"short": "Port range for Vpn NatRule mapping."}}], "cls": "VpnNatRuleMapping_update"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.natRules[]", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.properties.natRules[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name", "arg": "$parameters.properties.natRules[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_update>", "name": "externalMappings", "arg": "$parameters.properties.natRules[].properties.externalMappings", "item": {"type": "@VpnNatRuleMapping_update"}}, {"type": "array", "name": "internalMappings", "arg": "$parameters.properties.natRules[].properties.internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace", "arg": "@VpnNatRuleMapping_update.addressSpace"}, {"type": "string", "name": "portRange", "arg": "@VpnNatRuleMapping_update.portRange"}], "cls": "VpnNatRuleMapping_update"}}, {"type": "string", "name": "ipConfigurationId", "arg": "$parameters.properties.natRules[].properties.ipConfigurationId"}, {"type": "string", "name": "mode", "arg": "$parameters.properties.natRules[].properties.mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"type": "string", "name": "type", "arg": "$parameters.properties.natRules[].properties.type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "remove", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.natRules[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.natRules[].name", "options": ["name"], "required": true, "group": "", "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.natRules", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.natRules[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "revoked-cert", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "", "help": {"short": "Certificate thumbprint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint", "options": ["thumbprint"], "group": "", "help": {"short": "Certificate thumbprint."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "thumbprint", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].properties.thumbprint"}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRevokedCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRevokedCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRevokedCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}, {"name": "root-cert", "commands": [{"name": "list", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates"}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "create", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["root-cert-data"], "required": true, "group": "", "help": {"short": "Base64 contents of the root certificate file or file path."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceCreate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id", "options": ["id"], "hide": true, "group": "", "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "options": ["public-cert-data"], "group": "", "help": {"short": "Base64 contents of the root certificate file or file path."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"type": "object", "name": "parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[]", "required": true, "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "publicCertData", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].properties.publicCertData", "required": true}], "clientFlatten": true}]}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceDelete": {"ref": "$Subresource", "json": {}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkGateways_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "show", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}", "version": "2024-07-01", "subresource": "properties.vpnClientConfiguration.vpnClientRootCertificates[]", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfQ==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Virtual network gateway name."}}, {"type": "string", "var": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Root certificate name."}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "parameters", "prop": {"type": "array", "name": "properties.vpnClientConfiguration.vpnClientRootCertificates", "item": {"type": "object"}, "identifiers": [{"type": "string", "name": "[].name", "arg": "$parameters.properties.vpnClientConfiguration.vpnClientRootCertificates[].name", "required": true}]}}}, "operations": [{"operationId": "VirtualNetworkGateways_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "EdgeZone"}]}}]}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "boolean", "name": "activeActive"}, {"type": "string", "name": "adminState", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "boolean", "name": "allowRemoteVnetTraffic"}, {"type": "boolean", "name": "allowVirtualWanTraffic"}, {"type": "object", "name": "autoScaleConfiguration", "props": [{"type": "object", "name": "bounds", "props": [{"type": "integer", "name": "max"}, {"type": "integer", "name": "min"}]}]}, {"type": "object", "name": "bgpSettings", "props": [{"type": "integer64", "name": "asn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "string", "name": "bgpPeeringAddress"}, {"type": "array", "name": "bgpPeeringAddresses", "item": {"type": "object", "props": [{"type": "array", "name": "customBgpIpAddresses", "item": {"type": "string"}}, {"readOnly": true, "type": "array", "name": "defaultBgpIpAddresses", "item": {"type": "string"}}, {"type": "string", "name": "ipconfigurationId"}, {"readOnly": true, "type": "array", "name": "tunnelIpAddresses", "item": {"type": "string"}}]}}, {"type": "integer32", "name": "peerWeight"}]}, {"type": "@AddressSpace_read", "name": "customRoutes"}, {"type": "boolean", "name": "disableIPSecReplayProtection"}, {"type": "boolean", "name": "enableBgp"}, {"type": "boolean", "name": "enableBgpRouteTranslationForNat"}, {"type": "boolean", "name": "enableDnsForwarding"}, {"type": "boolean", "name": "enableHighBandwidthVpnGateway"}, {"type": "boolean", "name": "enablePrivateIpAddress"}, {"type": "@SubResource_read", "name": "gatewayDefaultSite"}, {"type": "string", "name": "gatewayType", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "LocalGateway"}, {"value": "Vpn"}]}}, {"readOnly": true, "type": "string", "name": "inboundDnsForwardingEndpoint"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "privateIPAddress"}, {"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress"}, {"type": "object", "name": "subnet", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}]}}, {"type": "array", "name": "natRules", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworkGateways/{}/natRules/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array<@VpnNatRuleMapping_read>", "name": "externalMappings", "item": {"type": "@VpnNatRuleMapping_read"}}, {"type": "array", "name": "internalMappings", "item": {"type": "object", "props": [{"type": "string", "name": "addressSpace"}, {"type": "string", "name": "portRange"}], "cls": "VpnNatRuleMapping_read"}}, {"type": "string", "name": "ipConfigurationId"}, {"type": "string", "name": "mode", "enum": {"items": [{"value": "EgressSnat"}, {"value": "IngressSnat"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "resiliencyModel", "enum": {"items": [{"value": "MultiHomed"}, {"value": "SingleHomed"}]}}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "object", "name": "sku", "props": [{"readOnly": true, "type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}, {"type": "string", "name": "tier", "enum": {"items": [{"value": "Basic"}, {"value": "ErGw1AZ"}, {"value": "ErGw2AZ"}, {"value": "ErGw3AZ"}, {"value": "ErGwScale"}, {"value": "HighPerformance"}, {"value": "Standard"}, {"value": "UltraPerformance"}, {"value": "VpnGw1"}, {"value": "VpnGw1AZ"}, {"value": "VpnGw2"}, {"value": "VpnGw2AZ"}, {"value": "VpnGw3"}, {"value": "VpnGw3AZ"}, {"value": "VpnGw4"}, {"value": "VpnGw4AZ"}, {"value": "VpnGw5"}, {"value": "VpnGw5AZ"}]}}]}, {"type": "string", "name": "vNetExtendedLocationResourceId"}, {"type": "object", "name": "virtualNetworkGatewayMigrationStatus", "props": [{"type": "string", "name": "errorMessage"}, {"type": "string", "name": "phase", "enum": {"items": [{"value": "Abort"}, {"value": "AbortSucceeded"}, {"value": "Commit"}, {"value": "CommitSucceeded"}, {"value": "Execute"}, {"value": "ExecuteSucceeded"}, {"value": "None"}, {"value": "Prepare"}, {"value": "PrepareSucceeded"}]}}, {"type": "string", "name": "state", "enum": {"items": [{"value": "Failed"}, {"value": "InProgress"}, {"value": "None"}, {"value": "Succeeded"}]}}]}, {"type": "array", "name": "virtualNetworkGatewayPolicyGroups", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "isDefault", "required": true}, {"type": "array", "name": "policyMembers", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "attributeType", "enum": {"items": [{"value": "AADGroupId"}, {"value": "CertificateGroupId"}, {"value": "RadiusAzureGroupId"}]}}, {"type": "string", "name": "attributeValue"}, {"type": "string", "name": "name"}]}}, {"type": "integer32", "name": "priority", "required": true}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "vngClientConnectionConfigurations", "item": {"type": "@SubResource_read"}}], "clientFlatten": true}]}}, {"type": "object", "name": "vpnClientConfiguration", "props": [{"type": "string", "name": "aadAudience"}, {"type": "string", "name": "aadIssuer"}, {"type": "string", "name": "aadTenant"}, {"type": "string", "name": "radiusServerAddress"}, {"type": "string", "name": "radiusServerSecret"}, {"type": "array", "name": "radiusServers", "item": {"type": "object", "props": [{"type": "string", "name": "radiusServerAddress", "required": true}, {"type": "integer64", "name": "radiusServerScore"}, {"type": "string", "name": "radiusServerSecret"}]}}, {"type": "array", "name": "vngClientConnectionConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array<@SubResource_read>", "name": "virtualNetworkGatewayPolicyGroups", "required": true, "item": {"type": "@SubResource_read"}}, {"type": "@AddressSpace_read", "name": "vpnClientAddressPool", "required": true}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnAuthenticationTypes", "item": {"type": "string", "enum": {"items": [{"value": "AAD"}, {"value": "Certificate"}, {"value": "Radius"}]}}}, {"type": "object", "name": "vpnClientAddressPool", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "vpnClientIpsecPolicies", "item": {"type": "object", "props": [{"type": "string", "name": "dhGroup", "required": true, "enum": {"items": [{"value": "DHGroup1"}, {"value": "DHGroup14"}, {"value": "DHGroup2"}, {"value": "DHGroup2048"}, {"value": "DHGroup24"}, {"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}]}}, {"type": "string", "name": "ikeEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES256"}]}}, {"type": "string", "name": "ikeIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}, {"value": "SHA384"}]}}, {"type": "string", "name": "ipsecEncryption", "required": true, "enum": {"items": [{"value": "AES128"}, {"value": "AES192"}, {"value": "AES256"}, {"value": "DES"}, {"value": "DES3"}, {"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "None"}]}}, {"type": "string", "name": "ipsecIntegrity", "required": true, "enum": {"items": [{"value": "GCMAES128"}, {"value": "GCMAES192"}, {"value": "GCMAES256"}, {"value": "MD5"}, {"value": "SHA1"}, {"value": "SHA256"}]}}, {"type": "string", "name": "pfsGroup", "required": true, "enum": {"items": [{"value": "ECP256"}, {"value": "ECP384"}, {"value": "None"}, {"value": "PFS1"}, {"value": "PFS14"}, {"value": "PFS2"}, {"value": "PFS2048"}, {"value": "PFS24"}, {"value": "PFSMM"}]}}, {"type": "integer32", "name": "saDataSizeKilobytes", "required": true}, {"type": "integer32", "name": "saLifeTimeSeconds", "required": true}]}}, {"type": "array", "name": "vpnClientProtocols", "item": {"type": "string", "enum": {"items": [{"value": "IkeV2"}, {"value": "OpenVPN"}, {"value": "SSTP"}]}}}, {"type": "array", "name": "vpnClientRevokedCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "thumbprint"}], "clientFlatten": true}]}}, {"type": "array", "name": "vpnClientRootCertificates", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "string", "name": "publicCertData", "required": true}], "clientFlatten": true}]}}]}, {"type": "string", "name": "vpnGatewayGeneration", "enum": {"items": [{"value": "Generation1"}, {"value": "Generation2"}, {"value": "None"}]}}, {"type": "string", "name": "vpnType", "enum": {"items": [{"value": "PolicyBased"}, {"value": "RouteBased"}]}}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualNetworkGateway_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}], "confirmation": ""}]}]}]} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml index 44cfce563..7cd87a463 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30=/2024-07-01.xml @@ -576,7 +576,7 @@ - + @@ -860,7 +860,7 @@ - + @@ -2046,7 +2046,7 @@ - + @@ -2309,7 +2309,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.json new file mode 100644 index 000000000..60fc2b8f9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "commit", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokeCommitMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.xml new file mode 100644 index 000000000..94f13b81d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.json new file mode 100644 index 000000000..8e87459a2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9hYm9ydE1pZ3JhdGlvbg==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "abort", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9hYm9ydE1pZ3JhdGlvbg==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokeAbortMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.xml new file mode 100644 index 000000000..d6ca0b8ae --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.json new file mode 100644 index 000000000..ef88562d0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/executemigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9leGVjdXRlTWlncmF0aW9u/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "execute", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/executemigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9leGVjdXRlTWlncmF0aW9u/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokeExecuteMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.xml new file mode 100644 index 000000000..74c1fad56 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.json new file mode 100644 index 000000000..90fccd966 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/preparemigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9wcmVwYXJlTWlncmF0aW9u/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "prepare", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/preparemigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9wcmVwYXJlTWlncmF0aW9u/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}, {"name": "MigrationParams", "args": [{"type": "string", "var": "$migrationParams.migrationType", "options": ["migration-type"], "required": true, "group": "MigrationParams", "help": {"short": "MigrationType for the virtual network gateway."}, "enum": {"items": [{"name": "UpgradeDeploymentToStandardIP", "value": "UpgradeDeploymentToStandardIP"}]}}, {"type": "string", "var": "$migrationParams.resourceUrl", "options": ["resource-url"], "group": "MigrationParams", "help": {"short": "Resource url that needs to be passed in to migration."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokePrepareMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "migrationParams", "required": true, "props": [{"type": "string", "name": "migrationType", "arg": "$migrationParams.migrationType", "required": true, "enum": {"items": [{"value": "UpgradeDeploymentToStandardIP"}]}}, {"type": "string", "name": "resourceUrl", "arg": "$migrationParams.resourceUrl"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.xml new file mode 100644 index 000000000..89c30d1cd --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+
+
+
+