You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/deployment-script-template.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: azure-resource-manager
5
5
author: mumian
6
6
ms.service: azure-resource-manager
7
7
ms.topic: conceptual
8
-
ms.date: 04/30/2020
8
+
ms.date: 05/06/2020
9
9
ms.author: jgao
10
10
11
11
---
@@ -299,7 +299,7 @@ To see the deploymentScripts resource in the portal, select **Show hidden types*
299
299
300
300
A storage account and a container instance are needed for script execution and troubleshooting. You have the options to specify an existing storage account, otherwise the storage account along with the container instance are automatically created by the script service. The requirements for using an existing storage account:
301
301
302
-
- Supported storage account kinds are: General-purpose v2 accounts, General-purpose v1 accounts and fileStorage accounts. For more information, see [Types of storage accounts](../../storage/common/storage-account-overview.md).
302
+
- Supported storage account kinds are: General-purpose v2/v1 accounts with standard performance tier, and fileStorage accounts with either standard or premium performance tier. For more information, see [Types of storage accounts](../../storage/common/storage-account-overview.md).
303
303
- Storage account firewall rules must be turned off. See [Configure Azure Storage firewalls and virtual network](../../storage/common/storage-network-security.md)
304
304
- Deployment script's user-assigned managed identity must have permissions to manage the storage account, which includes read, create, delete file shares.
305
305
@@ -312,6 +312,16 @@ To specify an existing storage account, add the following json to the property e
312
312
},
313
313
```
314
314
315
+
-**storageAccountName**: specify the name of the storage account.
316
+
-**storageAccountKey"**: specify one of the storage account keys. You can use the [`listKeys()`](./template-functions-resource.md#listkeys) function to retrieve the key. For example:
See [Sample templates](#sample-templates) for a complete `Microsoft.Resources/deploymentScripts` definition sample.
316
326
317
327
When an existing storage account is used, the script service creates a file share with a unique name. See [Clean up deployment script resources](#clean-up-deployment-script-resources) for how the script service cleans up the file share.
0 commit comments