Microsoft.Network bastionHosts template reference

Template format

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

{
  "name": "string",
  "type": "Microsoft.Network/bastionHosts",
  "apiVersion": "2019-07-01",
  "location": "string",
  "tags": {},
  "properties": {
    "ipConfigurations": [
      {
        "id": "string",
        "properties": {
          "subnet": {
            "id": "string"
          },
          "publicIPAddress": {
            "id": "string"
          },
          "privateIPAllocationMethod": "string"
        },
        "name": "string"
      }
    ],
    "dnsName": "string"
  }
}

Property values

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

Microsoft.Network/bastionHosts object

Name Type Required Value
name string Yes The name of the Bastion Host.
type enum Yes Microsoft.Network/bastionHosts
apiVersion enum Yes 2019-07-01
location string Yes Resource location.
tags object No Resource tags.
properties object Yes Represents the bastion host resource. - BastionHostPropertiesFormat object

BastionHostPropertiesFormat object

Name Type Required Value
ipConfigurations array No IP configuration of the Bastion Host resource. - BastionHostIPConfiguration object
dnsName string No FQDN for the endpoint on which bastion host is accessible.

BastionHostIPConfiguration object

Name Type Required Value
id string No Resource ID.
properties object No Represents the ip configuration associated with the resource. - BastionHostIPConfigurationPropertiesFormat object
name string No Name of the resource that is unique within a resource group. This name can be used to access the resource.

BastionHostIPConfigurationPropertiesFormat object

Name Type Required Value
subnet object Yes Reference of the subnet resource. - SubResource object
publicIPAddress object Yes Reference of the PublicIP resource. - SubResource object
privateIPAllocationMethod enum No Private IP allocation method. - Static or Dynamic

SubResource object

Name Type Required Value
id string No Resource ID.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Azure Bastion as a Service

Deploy to Azure
This template provisions Azure Bastion in a Virtual Network
Azure Bastion as a Service

Deploy to Azure
This template provisions Azure Bastion in a Virtual Network
Example Parameterized Deployment With Linked Templates

Deploy to Azure
This sample template will deploy multiple tiers of resources into an Azure Resource Group. Each tier has configurable elements, to show how you can expose parameterization to the end user.
SharePoint 2019, 2016 and 2013 configured with ADFS

Deploy to Azure
This template deploys SharePoint with 1 web application configured with Windows and ADFS authentication, and a couple of path based / host-named site collections are created. User Profiles Application and Apps (add-ins) services are configured. Claims provider LDAPCP is installed and configured.