Quick start ARM templates that deploy on Microsoft Azure Stack
Перейти к файлу
pagariyaalok 04e212317d Update OnStartAzureVirtualMachineFileServer.ps1 (#357)
I used the Github editor to replace the file content and looks like there are some special chars got in which are not even visible in change log  I’ll send out another PR.

                Expand-ZIPFile –File $zipFile –Destination "$pwd"                
                Move-Item -Path $zipFile -Destination "$zipFile.expanded" -Force
2018-06-29 14:35:18 -07:00
100-Blank-Template
101-acsengine-docker-swarm
101-acsengine-docker-swarmmode
101-availabilityset-multiplevm-create
101-availabilityset-multiplevm-linux
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
101-vm-linux-minikube
101-vm-windows-apply-extension-bginfo
101-vm-windows-apply-extension-customscript-cmd
101-vm-windows-apply-extension-customscript-pscmd
101-vm-windows-apply-extension-customscript-sf
101-vm-windows-create
101-vm-windows-create-api-profile
101-vm-windows-create-passwordfromkv
101-vm-windows-create-with-extension-diagnostic
101-vm-windows-createmultiple
101-vm-windowsandlinux-createmultiple Update azuredeploy.json (#350) 2018-06-18 18:37:20 -07:00
101-vmss-linux-vm
101-vmss-windows-vm
201-vm-linux-comprehensive Fix 201-vm-linux-comprehensive to use latest custom script extension for Linux (Bug 2543279 malformed error) (#348) 2018-06-06 10:33:01 -07:00
201-vm-ubuntu-apply-extension-ospatching
201-vm-windows-comprehensive
201-vm-windows-pushcertificate
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
201-webapp-and-serviceplan
301-availability-set-elastic-storage-ecs Update azuredeploy.json (#346) 2018-06-18 18:37:34 -07:00
MicrosoftMonitoringAgent-ext-win
ad-join-domain-ext-win
ad-non-ha
anti-malware-ext-win
appservice-fileserver-standalone Update OnStartAzureVirtualMachineFileServer.ps1 (#357) 2018-06-29 14:35:18 -07:00
bootstorm-vm-boot-time Fix for scheduled task cancellation (#349) 2018-06-15 14:29:22 -07:00
docker-swarm-ubuntu
ethereum-consortium-blockchain Eth nva (#356) 2018-06-29 14:24:02 -07:00
exchange-2016-non-ha
iostorm-vm-iops-latency IOStom: Add support for Disk Stripping (#344) 2018-05-07 16:06:05 -07:00
jetstress-2013-exchange-loadtest fix iso download location and powershell version (#343) 2018-05-02 14:00:21 -07:00
mesos-windows-jumpbox
mysql-standalone-server-windows
rds-deployment
rds-deployment-existing-ad
rds-deployment-ha-broker
rds-deployment-ha-gateway
rds-update-certificate
rds-update-rdsh-collection
serviceFabricCluster-multipleNodeTypes Update readme.md 2018-05-07 11:19:34 -07:00
sharepoint-2013-non-ha
sharepoint-2013-non-ha-loadtest
sharepoint-2013-sample-loadtest
sharepoint-2016-non-ha
sql-2014-non-ha
sql-2014-standalone
sql-2016-ha
vmaccess-ext-win
vs2013-tcta
License.txt
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.