Microsoft.Web sites/slots/virtualNetworkConnections 2020-10-01

Template format

To create a Microsoft.Web/sites/slots/virtualNetworkConnections resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Web/sites/slots/virtualNetworkConnections",
  "apiVersion": "2020-10-01",
  "kind": "string",
  "systemData": {
    "createdBy": "string",
    "createdByType": "string",
    "lastModifiedAt": "string"
  "properties": {
    "vnetResourceId": "string",
    "certBlob": "string",
    "dnsServers": "string",
    "isSwift": "boolean"
  "resources": []

Property values

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

Microsoft.Web/sites/slots/virtualNetworkConnections object


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Name of an existing Virtual Network.
type enum Yes For JSON -virtualNetworkConnections

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-10-01
kind string No Kind of resource.
systemData object No The system metadata relating to this resource. - SystemData object
properties object Yes VnetInfo resource specific properties - VnetInfoProperties object
resources array No gateways

SystemData object

Name Type Required Value
createdBy string No The identity that created the resource.
createdByType enum No The type of identity that created the resource. - User, Application, ManagedIdentity, Key
lastModifiedAt string No The timestamp of resource last modification (UTC)

VnetInfoProperties object

Name Type Required Value
vnetResourceId string No The Virtual Network's resource ID.
certBlob string No A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.
dnsServers string No DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.
isSwift boolean No Flag that is used to denote if this is VNET injection