Quick start ARM templates that deploy on Microsoft Azure Stack
Перейти к файлу
Shriram Natarajan 844dc478f6 Update azuredeploy.json 2017-10-24 15:22:52 -07:00
100-Blank-Template
101-acsengine-docker-swarm Updating the Swarm and Swarm mode templates to latest ACS engine templates. (#302) 2017-10-05 18:57:17 -07:00
101-acsengine-docker-swarmmode Updating the Swarm and Swarm mode templates to latest ACS engine templates. (#302) 2017-10-05 18:57:17 -07:00
101-availabilityset-multiplevm-create
101-create-dnszones
101-create-nsg
101-create-storage-account
101-create-vnet-full
101-create-vnet-nsg-only
101-create-vnet-only
101-mysqladapter-add-hosting-server
101-mysqladapter-create-database
101-sqladapter-add-hosting-server
101-sqladapter-create-database
101-vm-apply-extension-multiple
101-vm-create-from-customimage
101-vm-linux-apply-extension-customscript
101-vm-linux-apply-extension-docker
101-vm-linux-apply-extension-vmaccess
101-vm-linux-create Adding more flavors of SUSE. (#292) 2017-08-29 11:43:32 -07:00
101-vm-windows-apply-extension-bginfo Update README.md (#274) 2017-08-25 13:14:29 -07:00
101-vm-windows-apply-extension-customscript-cmd Update README.md (#276) 2017-08-25 13:13:17 -07:00
101-vm-windows-apply-extension-customscript-pscmd Fix ps command not to use piped input as it does not work on cmd prompt. (#303) 2017-10-08 14:03:27 -07:00
101-vm-windows-apply-extension-customscript-sf Update metadata.json (#280) 2017-08-25 13:10:43 -07:00
101-vm-windows-create Update README.md (#283) 2017-08-25 13:08:47 -07:00
101-vm-windows-create-api-profile Adding a template with Api Profile, converted the 101-vm-windows-create to use api profile (#300) 2017-10-05 18:57:48 -07:00
101-vm-windows-create-passwordfromkv Update azuredeploy.json 2017-10-24 15:22:22 -07:00
101-vm-windows-create-with-extension-diagnostic Removing periods from Diagnostics extension resource name. (#298) 2017-09-26 16:02:35 -07:00
101-vm-windows-createmultiple
101-vm-windowsandlinux-createmultiple
101-vmss-linux-vm
101-vmss-windows-vm
201-vm-linux-comprehensive Make sure that installs are not waiting on user input. (#299) 2017-09-26 16:02:21 -07:00
201-vm-ubuntu-apply-extension-ospatching
201-vm-windows-comprehensive
201-vm-windows-pushcertificate Update azuredeploy.json 2017-10-24 15:22:52 -07:00
201-vmss-linux-existing-vnet
201-vmss-linux-extension
201-vmss-linux-vm-largescale
201-vmss-scalein-scaleout-existing
201-vmss-windows-customimage
201-vmss-windows-extension
201-vmss-windows-vm-largescale
MicrosoftMonitoringAgent-ext-win
ad-join-domain-ext-win
ad-non-ha
anti-malware-ext-win
appservice-fileserver-standalone added domain name label (#306) 2017-10-17 11:03:23 -07:00
bootstorm-vm-boot-time
docker-swarm-ubuntu
exchange-2016-non-ha
iostorm-vm-iops-latency
jetstress-2013-exchange-loadtest
mesos-windows-jumpbox
mysql-standalone-server-windows
rds-deployment-existing-ad
sharepoint-2013-non-ha
sharepoint-2013-non-ha-loadtest
sharepoint-2013-sample-loadtest
sql-2014-non-ha Fix sql for new images (#301) 2017-10-05 18:57:30 -07:00
sql-2014-standalone Fix sql for new images (#301) 2017-10-05 18:57:30 -07:00
sql-2016-ha Sql Always-On configuration deployment (#294) 2017-09-05 17:55:54 -07:00
vmaccess-ext-win
vs2013-tcta
README.md
Sample README.md

README.md

Microsoft Azure Stack Quickstart Templates

This repository contains Azure Resource Manager deployment templates that have been tested with Microsoft Azure Stack Development Kit.

What repository?

The primary Azure Resource Manager templates repository on GitHub is the azure-quickstart-templates. You can find the repository here https://github.com/Azure/azure-quickstart-templates

Over time many GitHub users have contributed to the repository, resulting in a huge collection of more than 400 deployment templates. This repository is a great starting point to get a better understanding of how you can deploy various kinds of environment to Microsoft Azure. If you scroll through the templates in the azure-quickstart-templates repository, you will notice that there are templates that reference services (resource providers) that are not part of Microsoft Azure Stack Development Kit, such as ExpressRoute or CDN.

To ensure the successful deployment of templates to both Microsoft Azure and Microsoft Azure Stack Development Kit, this temporary GitHub repository AzureStack-quickstart-templates was created. This repository contains samples to test your Microsoft Azure Stack Development Kit environment. Over time, some templates from this temporary repository will be moved to the azure-quickstart-templates repository and this temporary AzureStack-quickstart-templates repository will be depreacated.

If you want to contribute your Azure Resource Manager templates to GitHub, you should make your contribution to the azure-quickstart-templates repository.

Contribution Guide and best practices

The azure-quickstart-templates repository contains a contribution guide and best practices. When you perform a pull-request to the repository, Microsoft will evaluate the code in your pull request based on the guidelines in these documents.

Familiarizing yourself with these documentes, improves the contribution experience.

The contribution guide also explains how to ensure that your deployment template complies with the requirements for it to show up on the gallery in the public Microsoft Azure website.

Azure Resource Manager limitations in Microsoft Azure Stack Development Kit

You can use all kind of template functions within your deployment template. You can find a description of these template functions here: https://azure.microsoft.com/en-us/documentation/articles/resource-group-template-functions/

To ensure that the templates that you create will deploy to both Microsoft Azure and Microsoft Azure Stack Development Kit, you must be aware of a couple of limitations related to Azure Resource Manager in the Microsoft Azure Stack Development Kit. Some functions of Azure Resource Manager are not yet available in this release of Microsoft Azure Stack.

The following template functions are not available in Microsoft Azure Stack Development Kit yet.

  • skip
  • take

API Versions for Resource Providers

Each resource provider in Microsoft Azure has its own API version. Microsoft Azure Stack Development Kit supports the current API versions for the available resource providers, with some minor exceptions. To ensure your template will succesfully deploy to both Microsoft Azure and Microsoft Azure Stack Development Kit, use the latest API versions that are available in Microsoft Azure Stack Development Kit for all resources in your template. To retrieve a list of the available API versions connect to your Microsoft Azure Stack Development Kit environment by following the Authenticate PowerShell with Microsoft Azure Stack procedure described in this article.

https://azure.microsoft.com/en-us/documentation/articles/azure-stack-deploy-template-powershell/

When you are connected to your environment, you can retrieve a list of the available resource providers and the supported API versions by running the following PowerShell cmdlet

Get-AzureRmResourceProvider | Select ProviderNamespace -Expand ResourceTypes | FT Providernamespace, ResourceTypeName, ApiVersions

This cmdlet can also be used for Microsoft Azure.

Validate existing deployment templates

You can verify if an existing deployment template is valid for a given environment with the Test-AzureRmResourceGroupDeployment PowerShell cmdlet. After connecting to your environment in a PowerShell session run the following PowerShell cmdlet

Test-AzureRmResourceGroupDeployment -ResourceGroupName ExampleGroup -TemplateFile c:\Templates\azuredeploy.json

Please note that this cmdlet does not verify the resource provider specific properties for the resources within the template. This cmdlet can be used for Microsoft Azure and Microsoft Azure Stack Development Kit.

Next steps

Start with creating deployment templates in your own repository. Make sure they deploy to both Microsoft Azure and Microsoft Azure Stack Development Kit, they are in line with the guidelines in the azure-quickstart-templates contribution guide and the guidelines described here. Fork the azure-quickstart-templates repository, add or update and send pull requests to the azure-quickstart-templates. If your templates comply with the requirments they will even show up in the gallery on the public Microsoft Azure website.