Skip to content

Commit 5f540de

Browse files
committed
rollback admhc edit
1 parent 4f16e34 commit 5f540de

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

articles/azure-resource-manager/deployment-manager-tutorial-health-check.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ If you don't have an Azure subscription, [create a free account](https://azure.m
4545
To complete this article, you need:
4646

4747
* Complete [Use Azure Deployment Manager with Resource Manager templates](./deployment-manager-tutorial.md).
48-
* Download [the templates and the artifacts](https://github.com/Azure/azure-docs-json-samples/raw/master/tutorial-adm/ADMTutorial.zip) that is used by this tutorial.
48+
* Download [the templates and the artifacts](https://armtutorials.blob.core.windows.net/admtutorial/ADMTutorial.zip) that is used by this tutorial.
4949

5050
## Create a health check service simulator
5151

5252
In production, you typically use one or more monitoring providers. In order to make health integration as easy as possible, Microsoft has been working with some of the top service health monitoring companies to provide you with a simple copy/paste solution to integrate health checks with your deployments. For a list of these companies, see [Health monitoring providers](./deployment-manager-health-check.md#health-monitoring-providers). For the purpose of this tutorial, you create an [Azure Function](/azure/azure-functions/) to simulate a health monitoring service. This function takes a status code, and returns the same code. Your Azure Deployment Manager template uses the status code to determine how to proceed with the deployment.
5353

5454
The following two files are used for deploying the Azure Function. You don't need to download these files to go through the tutorial.
5555

56-
* A Resource Manager template located in [GitHub](https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/deploy_hc_azure_function.json). You deploy this template to create an Azure Function.
57-
* A zip file of the Azure Function source code stored in [GitHub](https://github.com/Azure/azure-docs-json-samples/raw/master/tutorial-adm/ADMHCFunction0417.zip). This zip called is called by the Resource Manager template.
56+
* A Resource Manager template located at [https://armtutorials.blob.core.windows.net/admtutorial/deploy_hc_azure_function.json](https://armtutorials.blob.core.windows.net/admtutorial/deploy_hc_azure_function.json). You deploy this template to create an Azure Function.
57+
* A zip file of the Azure Function source code, [https://armtutorials.blob.core.windows.net/admtutorial/ADMHCFunction0417.zip](https://armtutorials.blob.core.windows.net/admtutorial/ADMHCFunction0417.zip). This zip called is called by the Resource Manager template.
5858

5959
To deploy the Azure function, select **Try it** to open the Azure Cloud shell, and then paste the following script into the shell window. To paste the code, right-click the shell window and then select **Paste**.
6060

@@ -68,7 +68,7 @@ $location = Read-Host -Prompt "Enter the location (i.e. centralus)"
6868
$resourceGroupName = "${projectName}rg"
6969
7070
New-AzResourceGroup -Name $resourceGroupName -Location $location
71-
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/deploy_hc_azure_function.json" -projectName $projectName
71+
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri "https://armtutorials.blob.core.windows.net/admtutorial/deploy_hc_azure_function.json" -projectName $projectName
7272
```
7373

7474
To verify and test the Azure function:
@@ -232,21 +232,21 @@ The purpose of this section is to show you how to include a health check step in
232232
233233
To simplify the tutorial, the topology template and artifacts are shared at the following locations so that you don't need to prepare your own copy. If you want to use your own, follow the instructions in [Tutorial: Use Azure Deployment Manager with Resource Manager templates](./deployment-manager-tutorial.md).
234234

235-
* Topology template: https:\//raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/ADMTemplates/CreateADMServiceTopology.json
236-
* Artifacts store: https:\//github.com/Azure/azure-docs-json-samples/tree/master/tutorial-adm/ArtifactStore
235+
* Topology template: https:\//armtutorials.blob.core.windows.net/admtutorial/ADMTemplates/CreateADMServiceTopology.json
236+
* Artifacts store: https:\//armtutorials.blob.core.windows.net/admtutorial/ArtifactStore
237237

238238
To deploy the topology, select **Try it** to open the Cloud shell, and then paste the PowerShell script.
239239

240240
```azurepowershell-interactive
241241
$projectName = Read-Host -Prompt "Enter the same project name used earlier in this tutorial"
242242
$location = Read-Host -Prompt "Enter the location (i.e. centralus)"
243243
$resourceGroupName = "${projectName}rg"
244-
$artifactLocation = "https://github.com/Azure/azure-docs-json-samples/tree/master/tutorial-adm/ArtifactStore" | ConvertTo-SecureString -AsPlainText -Force
244+
$artifactLocation = "https://armtutorials.blob.core.windows.net/admtutorial/ArtifactStore?st=2019-05-06T03%3A57%3A31Z&se=2020-05-07T03%3A57%3A00Z&sp=rl&sv=2018-03-28&sr=c&sig=gOh%2Bkhi693rmdxiZFQ9xbKZMU1kbLJDqXw7EP4TaGlI%3D" | ConvertTo-SecureString -AsPlainText -Force
245245

246246
# Create the service topology
247247
New-AzResourceGroupDeployment `
248248
-ResourceGroupName $resourceGroupName `
249-
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/ADMTemplatesHC/CreateADMServiceTopology.json" `
249+
-TemplateUri "https://armtutorials.blob.core.windows.net/admtutorial/ADMTemplatesHC/CreateADMServiceTopology.json" `
250250
-namePrefix $projectName `
251251
-azureResourceLocation $location `
252252
-artifactSourceSASLocation $artifactLocation
@@ -262,8 +262,8 @@ Verify the service topology and the underlined resources have been created succe
262262

263263
To simplify the tutorial, the revised rollout template is shared at the following locations so that you don't need to prepare your own copy. If you want to use your own, follow the instructions in [Tutorial: Use Azure Deployment Manager with Resource Manager templates](./deployment-manager-tutorial.md).
264264

265-
* Topology template: https:\//raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/ADMTemplatesHC/CreateADMRollout.json
266-
* Artifacts store: https:\//github.com/Azure/azure-docs-json-samples/tree/master/tutorial-adm/ArtifactStore
265+
* Topology template: https:\//armtutorials.blob.core.windows.net/admtutorial/ADMTemplatesHC/CreateADMRollout.json
266+
* Artifacts store: https:\//armtutorials.blob.core.windows.net/admtutorial/ArtifactStore
267267

268268
Use the unhealthy status URL you created in [Create a health check service simulator](#create-a-health-check-service-simulator). For **managedIdentityID**, see [Create the user-assigned managed identity](./deployment-manager-tutorial.md#create-the-user-assigned-managed-identity).
269269

@@ -276,12 +276,12 @@ $healthCheckAuthAPIKey = $healthCheckUrl.Substring($healthCheckUrl.IndexOf("?cod
276276
$healthCheckUrl = $healthCheckUrl.Substring(0, $healthCheckUrl.IndexOf("?"))
277277
278278
$resourceGroupName = "${projectName}rg"
279-
$artifactLocation = "https://github.com/Azure/azure-docs-json-samples/tree/master/tutorial-adm/ArtifactStore" | ConvertTo-SecureString -AsPlainText -Force
279+
$artifactLocation = "https://armtutorials.blob.core.windows.net/admtutorial/ArtifactStore?st=2019-05-06T03%3A57%3A31Z&se=2020-05-07T03%3A57%3A00Z&sp=rl&sv=2018-03-28&sr=c&sig=gOh%2Bkhi693rmdxiZFQ9xbKZMU1kbLJDqXw7EP4TaGlI%3D" | ConvertTo-SecureString -AsPlainText -Force
280280
281281
# Create the rollout
282282
New-AzResourceGroupDeployment `
283283
-ResourceGroupName $resourceGroupName `
284-
-TemplateUri "https://raw.githubusercontent.com/Azure/azure-docs-json-samples/master/tutorial-adm/ADMTemplatesHC/CreateADMRollout.json" `
284+
-TemplateUri "https://armtutorials.blob.core.windows.net/admtutorial/ADMTemplatesHC/CreateADMRollout.json" `
285285
-namePrefix $projectName `
286286
-azureResourceLocation $location `
287287
-artifactSourceSASLocation $artifactLocation `

0 commit comments

Comments
 (0)