Create an Azure Bastion host
Prerequisite
You should register to the preview to be able to create an Azure Bastion. Using PowerShell :
Login-AzAccount
Register-AzProviderFeature -FeatureName AllowBastionHost -ProviderNamespace Microsoft.Network
Register-AzResourceProvider -ProviderNamespace Microsoft.Network
Wait for few minutes then use the following cmdlet to ensure that you are registred :
Get-AzProviderFeature -ListAvailable
Usage
Create an Azure Bastion host (Preview) -
This template creates an Azure Bastion host. For more information, see here: https://docs.microsoft.com/en-us/azure/bastion/bastion-create-host-portal