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
+14-4Lines changed: 14 additions & 4 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,8 +299,8 @@ 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).
303
-
- Storage account firewall rules must be turned off. See [Configure Azure Storage firewalls and virtual network](../../storage/common/storage-network-security.md)
302
+
- Supported storage account kinds are: general-purpose v2, general-purpose v1 and FileStorage accounts. Only FileStorage supports premium SKU. For more information, see [Types of storage accounts](../../storage/common/storage-account-overview.md).
303
+
- Storage account firewall rules are not supported yet. For more information, see [Configure Azure Storage firewalls and virtual networks](../../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
306
306
To specify an existing storage account, add the following json to the property element of `Microsoft.Resources/deploymentScripts`:
@@ -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.
@@ -331,7 +341,7 @@ The life cycle of these resources is controlled by the following properties in t
331
341
- **retentionInterval**: Specify the time interval that a script resource will be retained and after which will be expired and deleted.
332
342
333
343
> [!NOTE]
334
-
> It is not recommended to use the deployment script resources for other purposes.
344
+
> It is not recommended to use the storage account and the container instance that are generated by the script service for other purposes. The two resources might be removed depending on the script life cycle.
0 commit comments