Skip to content

Commit c50d53d

Browse files
committed
fixing issues
1 parent 4e00883 commit c50d53d

4 files changed

+16
-13
lines changed

articles/azure-resource-manager/TOC.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
## [Create your first template](resource-manager-create-first-template.md)
1111
## [Visual Studio with Resource Manager](vs-azure-tools-resource-groups-deployment-projects-create-deploy.md)
1212

13-
## Samples
14-
### PowerShell
15-
#### [Deploy template](resource-manager-samples-powershell-deploy.md)
16-
### Azure CLI
17-
#### [Deploy template](resource-manager-samples-cli-deploy.md)
13+
# Samples
14+
## PowerShell
15+
### [Deploy template](resource-manager-samples-powershell-deploy.md)
16+
## Azure CLI
17+
### [Deploy template](resource-manager-samples-cli-deploy.md)
1818

1919
# How to
2020
## Create templates

articles/azure-resource-manager/resource-group-template-deploy.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ New-AzureRmResourceGroupDeployment -Name ExampleDeployment -ResourceGroupName Ex
5252
-storageNamePrefix contoso -storageSKU Standard_GRS
5353
```
5454

55-
You can protect your template by requiring a shared access signature (SAS) token for access. For information about deploying a template that requires a SAS token, see [Deploy private template with SAS token](resource-manager-powershell-sas-token).
55+
You can protect your template by requiring a shared access signature (SAS) token for access. For information about deploying a template that requires a SAS token, see [Deploy private template with SAS token](resource-manager-powershell-sas-token.md).
5656

5757
## Parameter files
5858

@@ -111,7 +111,8 @@ Test-AzureRmResourceGroupDeployment -Name ExampleDeployment -ResourceGroupName E
111111
Information about deployment operations is automatically logged in the activity logs. However, to log additional information about the deployment that may help you troubleshoot any deployment errors, use the **DeploymentDebugLogLevel** parameter. You can specify that request content, response content, or both be logged with the deployment operation.
112112

113113
```powershell
114-
New-AzureRmResourceGroupDeployment -Name ExampleDeployment -DeploymentDebugLogLevel All -ResourceGroupName ExampleGroup -TemplateFile storage.json
114+
New-AzureRmResourceGroupDeployment -Name ExampleDeployment -DeploymentDebugLogLevel All `
115+
-ResourceGroupName ExampleGroup -TemplateFile storage.json
115116
```
116117

117118
For information about viewing the logs, see [View activity logs to audit actions on resources](resource-group-audit.md).
@@ -142,9 +143,9 @@ New-AzureRmResourceGroupDeployment -Mode Complete -Name ExampleDeployment `
142143

143144

144145
## Next steps
145-
* For a complete sample script that deploys a template, see [Deploy Resource Manager template script](resource-manager-samples-powershell-deploy).
146+
* For a complete sample script that deploys a template, see [Resource Manager template deployment script](resource-manager-samples-powershell-deploy.md).
146147
* To define parameters in template, see [Authoring templates](resource-group-authoring-templates.md#parameters).
147148
* For tips on resolving common deployment errors, see [Troubleshoot common Azure deployment errors with Azure Resource Manager](resource-manager-common-deployment-errors.md).
148-
* For information about deploying a template that requires a SAS token, see [Deploy private template with SAS token](resource-manager-powershell-sas-token).
149+
* For information about deploying a template that requires a SAS token, see [Deploy private template with SAS token](resource-manager-powershell-sas-token.md).
149150
* For guidance on how enterprises can use Resource Manager to effectively manage subscriptions, see [Azure enterprise scaffold - prescriptive subscription governance](resource-manager-subscription-governance.md).
150151

articles/azure-resource-manager/resource-manager-powershell-sas-token.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.author: tomfitz
1919
---
2020
# Deploy private Resource Manager template with SAS token and Azure PowerShell
2121

22-
This topic explains how to use Azure PowerShell with Resource Manager templates to deploy your resources to Azure. Your template can be either a local file or an external file that is available through a URI. When your template resides in a storage account, you can restrict access to the template and provide a shared access signature (SAS) token during deployment.
22+
When your template resides in a storage account, you can restrict access to the template and provide a shared access signature (SAS) token during deployment. This topic explains how to use Azure PowerShell with Resource Manager templates to provide a SAS token during deployment.
2323

2424
## Add private template to storage account
2525

@@ -50,9 +50,11 @@ To deploy a private template in a storage account, generate a SAS token and incl
5050
Set-AzureRmCurrentStorageAccount -ResourceGroupName ManageGroup -Name {your-unique-name}
5151
5252
# get the URI with the SAS token
53-
$templateuri = New-AzureStorageBlobSASToken -Container templates -Blob storage.json -Permission r -ExpiryTime (Get-Date).AddHours(2.0) -FullUri
53+
$templateuri = New-AzureStorageBlobSASToken -Container templates -Blob storage.json -Permission r `
54+
-ExpiryTime (Get-Date).AddHours(2.0) -FullUri
5455
5556
# provide URI with SAS token during deployment
57+
New-AzureRmResourceGroup -Name ExampleGroup -Location "South Central US"
5658
New-AzureRmResourceGroupDeployment -ResourceGroupName ExampleGroup -TemplateUri $templateuri
5759
```
5860

@@ -61,7 +63,7 @@ For an example of using a SAS token with linked templates, see [Using linked tem
6163

6264
## Next steps
6365
* For an introduction to deploying templates, see [Deploy resources with Resource Manager templates and Azure PowerShell](resource-group-template-deploy.md).
64-
* For a complete sample script that deploys a template, see [Deploy Resource Manager template script](resource-manager-samples-powershell-deploy)
66+
* For a complete sample script that deploys a template, see [Deploy Resource Manager template script](resource-manager-samples-powershell-deploy.md)
6567
* To define parameters in template, see [Authoring templates](resource-group-authoring-templates.md#parameters).
6668
* For guidance on how enterprises can use Resource Manager to effectively manage subscriptions, see [Azure enterprise scaffold - prescriptive subscription governance](resource-manager-subscription-governance.md).
6769

articles/azure-resource-manager/resource-manager-samples-powershell-deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.date: 04/19/2017
1717
ms.author: tomfitz
1818

1919
---
20-
# Deploy resources with Azure Resource Manager templates and Azure PowerShell
20+
# Azure Resource Manager template deployment script
2121

2222
This script deploys a Resource Manager template to a resource group in your subscription.
2323

0 commit comments

Comments
 (0)