Skip to content

Commit b2b5c02

Browse files
committed
Clarified the run from package names
1 parent a53d1f0 commit b2b5c02

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

articles/azure-functions/deployment-zip-push.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ When you're using Azure CLI on your local computer, `<zip_file_path>` is the pat
8989

9090
## Run functions from the deployment package
9191

92-
You can also choose to run your functions directly from the .zip deployment file. This method skips the deployment step of copying files from the package to the `wwwroot` directory of your function app. Instead, the .zip file is mounted by the Functions runtime, and the contents of the `wwwroot` directory become read-only.
92+
You can also choose to run your functions directly from the deployment package file. This method skips the deployment step of copying files from the package to the `wwwroot` directory of your function app. Instead, the package file is mounted by the Functions runtime, and the contents of the `wwwroot` directory become read-only.
9393

9494
> [!NOTE]
9595
> The ability to run your function app from the deployment package is in preview.
9696
97-
Zip deployment integrates with this feature, which you can enable by setting the function app setting `WEBSITE_RUN_FROM_ZIP` to a value of `1`. For more information, see [Run your functions from a compressed deployment package](run-functions-from-deployment-package.md).
97+
Zip deployment integrates with this feature, which you can enable by setting the function app setting `WEBSITE_RUN_FROM_ZIP` to a value of `1`. For more information, see [Run your functions from a deployment package file](run-functions-from-deployment-package.md).
9898

9999
[!INCLUDE [app-service-deploy-zip-push-custom](../../includes/app-service-deploy-zip-push-custom.md)]
100100

articles/azure-functions/run-functions-from-deployment-package.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Run your Azure Functions from a .zip deployment package | Microsoft Docs
3-
description: Have the Azure Functions runtime run your functions by mounting a .zip compressed file deployment file that contains your function app project files.
2+
title: Run your Azure Functions from a package | Microsoft Docs
3+
description: Have the Azure Functions runtime run your functions by mounting a deployment package file that contains your function app project files.
44
services: functions
55
documentationcenter: na
66
author: ggailey777
@@ -12,23 +12,23 @@ ms.service: functions
1212
ms.devlang: multiple
1313
ms.topic: conceptual
1414
ms.workload: na
15-
ms.date: 08/13/2018
15+
ms.date: 08/22/2018
1616
ms.author: glenga
1717

1818
---
1919

20-
# Run your Azure Functions from a deployment package
20+
# Run your Azure Functions from a package file
2121

2222
> [!NOTE]
2323
> The functionality described in this article is currently in preview; it is not available for Functions on Linux.
2424
2525
By default, your function project files are deployed to the `d:\home\site\wwwroot` directory of your function app in Azure. These files are used to run your functions.
2626

27-
You can also choose to run your functions directly from a .zip deployment file. This article describes the benefits of running your functions from a .zip package file, and how to enable it in your function app.
27+
You can also choose to run your functions directly from a deployment package file. This article describes the benefits of running your functions from a package, and how to enable it in your function app.
2828

2929
## Benefits of running from the zip file
3030

31-
There are several benefits to running from a .zip file:
31+
There are several benefits to running from a package file:
3232

3333
+ Reduces the risk of file copy locking issues.
3434
+ Can be deployed to a production app (with restart).
@@ -40,21 +40,24 @@ For more information, see [this announcement](https://github.com/Azure/app-servi
4040

4141
## Enabling the run from zip functionality
4242

43-
To enable your function app to run from a .zip file, you just add a `WEBSITE_RUN_FROM_ZIP` setting to your function app settings. The `WEBSITE_RUN_FROM_ZIP` setting can have one of the following values:
43+
To enable your function app to run from a package, you just add a `WEBSITE_RUN_FROM_ZIP` setting to your function app settings. The `WEBSITE_RUN_FROM_ZIP` setting can have one of the following values:
4444

4545

4646
| Value | Description |
4747
|---------|---------|
48-
|**`<url>`** | Location of a specific .zip file package you want to run. When using Blob storage, you should use a private container with a [Shared Access Signature (SAS)](../vs-azure-tools-storage-manage-with-storage-explorer.md#attach-a-storage-account-by-using-a-shared-access-signature-sas) to enable the Functions runtime to access to the package. You can use the [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to upload .zip files to your Blob storage account. |
49-
| **`1`** | Run from a .zip file in the `d:\home\data\SitePackages` folder of your function app. You can use the zip deployment APIs to automatically create and copy a deployment package to this folder. |
48+
|**`<url>`** | Location of a specific package file you want to run. When using Blob storage, you should use a private container with a [Shared Access Signature (SAS)](../vs-azure-tools-storage-manage-with-storage-explorer.md#attach-a-storage-account-by-using-a-shared-access-signature-sas) to enable the Functions runtime to access to the package. You can use the [Azure Storage Explorer](https://azure.microsoft.com/features/storage-explorer/) to upload package files to your Blob storage account. |
49+
| **`1`** | Run from a pacakge file in the `d:\home\data\SitePackages` folder of your function app. You can use the zip deployment APIs to automatically create and copy a deployment package to this folder. |
5050

5151
The following shows a function app configured to run from a .zip file hosted in Azure Blob storage:
5252

5353
![WEBSITE_RUN_FROM_ZIP app setting](./media/run-functions-from-deployment-package/run-from-zip-app-setting-portal.png)
5454

55+
> [!NOTE]
56+
> Currently, only .zip package files are supported.
57+
5558
## Integration with .zip deployment
5659

57-
[Zip deployment][Zip deployment for Azure Functions] is a feature of Azure App Service that lets you deploy a .zip file containing your function app project to the `wwwroot` directory. The same APIs can be used to deploy your package to the `d:\home\data\SitePackages` folder. When you have the app setting `WEBSITE_RUN_FROM_ZIP` set to a value of `1`, the zip deployment APIs copy the .zip package to the `d:\home\data\SitePackages` folder instead of extracting the files to `d:\home\site\wwwroot`. The function app is then run from the package after a restart and `wwwroot` becomes read-only. For more information about zip deployment, see [Zip deployment for Azure Functions](deployment-zip-push.md).
60+
[Zip deployment][Zip deployment for Azure Functions] is a feature of Azure App Service that lets you deploy a .zip file containing your function app project to the `wwwroot` directory. The same APIs can be used to deploy your package to the `d:\home\data\SitePackages` folder. When you have the app setting `WEBSITE_RUN_FROM_ZIP` set to a value of `1`, the zip deployment APIs copy your package to the `d:\home\data\SitePackages` folder instead of extracting the files to `d:\home\site\wwwroot`. The function app is then run from the package after a restart and `wwwroot` becomes read-only. For more information about zip deployment, see [Zip deployment for Azure Functions](deployment-zip-push.md).
5861

5962
## Adding the WEBSITE_RUN_FROM_ZIP setting
6063

0 commit comments

Comments
 (0)