Microsoft.Network p2svpnGateways 2020-03-01

Template format

To create a Microsoft.Network/p2svpnGateways resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Network/p2svpnGateways",
  "apiVersion": "2020-03-01",
  "location": "string",
  "tags": {},
  "properties": {
    "virtualHub": {
      "id": "string"
    },
    "p2SConnectionConfigurations": [
      {
        "id": "string",
        "properties": {
          "vpnClientAddressPool": {
            "addressPrefixes": [
              "string"
            ]
          }
        },
        "name": "string"
      }
    ],
    "vpnGatewayScaleUnit": "integer",
    "vpnServerConfiguration": {
      "id": "string"
    }
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Network/p2svpnGateways object

Name Type Required Value
name string Yes The name of the gateway.
type enum Yes Microsoft.Network/p2svpnGateways
apiVersion enum Yes 2020-03-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes Properties of the P2SVpnGateway. - P2SVpnGatewayProperties object

P2SVpnGatewayProperties object

Name Type Required Value
virtualHub object No The VirtualHub to which the gateway belongs. - SubResource object
p2SConnectionConfigurations array No List of all p2s connection configurations of the gateway. - P2SConnectionConfiguration object
vpnGatewayScaleUnit integer No The scale unit for this p2s vpn gateway.
vpnServerConfiguration object No The VpnServerConfiguration to which the p2sVpnGateway is attached to. - SubResource object

SubResource object

Name Type Required Value
id string No Resource ID.

P2SConnectionConfiguration object

Name Type Required Value
id string No Resource ID.
properties object No Properties of the P2S connection configuration. - P2SConnectionConfigurationProperties object
name string No The name of the resource that is unique within a resource group. This name can be used to access the resource.

P2SConnectionConfigurationProperties object

Name Type Required Value
vpnClientAddressPool object No The reference to the address space resource which represents Address space for P2S VpnClient. - AddressSpace object

AddressSpace object

Name Type Required Value
addressPrefixes array No A list of address blocks reserved for this virtual network in CIDR notation. - string