在 Azure Stack 中使用 Azure 资源管理器模板Use Azure Resource Manager templates in Azure Stack

适用于:Azure Stack 集成系统和 Azure Stack 开发工具包Applies to: Azure Stack integrated systems and Azure Stack Development Kit

可使用 Azure 资源管理器 模板通过单个协调操作部署和预配应用程序的所有资源。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.

可通过 Azure Stack 门户、PowerShell、命令行和 Visual Studio 部署这些模板。These templates can be deployed with the Azure Stack portal, PowerShell, the command line, and Visual Studio.

GitHub 中提供了以下快速入门模板:The following quickstart templates are available on GitHub:

部署 SharePoint Server(非高可用性部署)Deploy SharePoint Server (non-high-availability deployment)

使用 PowerShell Desired State Configuration (DSC) 扩展创建包含以下资源的 SharePoint Server 2013 场Use the PowerShell Desired State Configuration (DSC) extension to create a SharePoint Server 2013 farm that includes the following resources:

  • 虚拟网络A virtual network
  • 三个存储帐户Three storage accounts
  • 两个外部负载均衡器Two external load balancers
  • 一个虚拟机 (VM),配置为包含单个域的新林的域控制器One virtual machine (VM) configured as a domain controller for a new forest with a single domain
  • 一个 VM,配置为 SQL Server 2014 独立服务器One VM configured as a SQL Server 2014 stand-alone server
  • 一个 VM,配置为单机 SharePoint Server 2013 场One VM configured as a one-machine SharePoint Server 2013 farm

部署 AD(非高可用性部署)Deploy AD (non-high-availability-deployment)

使用 PowerShell DSC 扩展创建包含以下资源的 AD 域控制器服务器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
  • 一个虚拟机 (VM),配置为包含单个域的新林的域控制器One virtual machine (VM) configured as a domain controller for a new forest with a single domain

部署 AD/SQL(非高可用性部署)Deploy AD/SQL (non-high-availability-deployment)

使用 PowerShell DSC 扩展创建包含以下资源的 SQL Server 2014 独立服务器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
  • 一个虚拟机 (VM),配置为包含单个域的新林的域控制器One virtual machine (VM) configured as a domain controller for a new forest with a single domain
  • 一个 VM,配置为 SQL Server 2014 独立服务器One VM configured as a SQL Server 2014 stand-alone server

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

使用 PowerShell DSC 扩展配置现有的虚拟机本地配置管理器 (LCM),将其注册到 Azure 自动化帐户 DSC 提取服务器。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. 此模板还会部署虚拟网络(使用 DNS)、公共 IP 地址和网络接口。This template also deploys a virtual network (with DNS), public IP address, and a network interface.

基本虚拟机Basic virtual machine

部署一个包含虚拟网络(使用 DNS)、公共 IP 地址和网络接口的 Windows VMDeploy a Windows VM that includes a virtual network (with DNS), public IP address, and a network interface.

取消正在运行的模板部署Cancel a running template deployment

若要取消正在运行的模板部署,请使用 Stop-AzureRmResourceGroupDeployment PowerShell cmdletTo cancel a running template deployment, use the Stop-AzureRmResourceGroupDeployment PowerShell cmdlet.

后续步骤Next steps