Rediger

Del via


Use Azure Resource Manager templates in Azure Stack Hub

You can use Azure Resource Manager templates to deploy and provision all the resources for your application in a single, coordinated operation. You can also redeploy templates to make changes to the resources in a resource group.

These templates can be deployed with the Microsoft Azure Stack Hub portal, PowerShell, the command line, and Visual Studio.

The following quickstart templates are available on GitHub:

Deploy AD (non-high-availability-deployment)

Use the PowerShell DSC extension to create an AD domain controller server that includes the following resources:

  • A virtual network
  • One storage account
  • One external load balancer
  • One virtual machine (VM) configured as a domain controller for a new forest with a single domain

Deploy AD/SQL (non-high-availability-deployment)

Use the PowerShell DSC extension to create a SQL Server 2014 stand-alone server that includes the following resources:

  • A virtual network
  • Two storage accounts
  • One external load balancer
  • One virtual machine (VM) configured as a domain controller for a new forest with a single domain
  • One VM configured as a SQL Server 2014 stand-alone server

VM-DSC-Extension-Azure-Automation-Pull-Server

Use the PowerShell DSC extension to configure an existing virtual machine Local Configuration Manager (LCM) and register it to an Azure Automation Account DSC Pull Server.

Create a virtual machine from a user image

Create a virtual machine from a custom user image. This template also deploys a virtual network (with DNS), public IP address, and a network interface.

Basic virtual machine

Deploy a Windows VM that includes a virtual network (with DNS), public IP address, and a network interface.

Cancel a running template deployment

To cancel a running template deployment, use the Stop-AzResourceGroupDeployment PowerShell cmdlet.

Next steps