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-functions/functions-add-output-binding-storage-queue-vs-code.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Before you start this article, you must meet the following requirements:
29
29
30
30
* Complete the steps in [part 1 of the Visual Studio Code quickstart](functions-create-first-function-vs-code.md).
31
31
32
-
This article assumes that you are already signed in to your Azure subscription from Visual Studio Code. You can sign in by running `Azure: Sign In` from the command palette.
32
+
This article assumes that you're already signed in to your Azure subscription from Visual Studio Code. You can sign in by running `Azure: Sign In` from the command palette.
33
33
34
34
## Download the function app settings
35
35
@@ -46,13 +46,13 @@ In the [previous quickstart article](functions-create-first-function-vs-code.md)
46
46
47
47
## Register binding extensions
48
48
49
-
Because you are using a Queue storage output binding, you must have the Storage bindings extension installed before you run the project.
49
+
Because you're using a Queue storage output binding, you must have the Storage bindings extension installed before you run the project.
50
50
51
51
::: zone pivot="programming-language-javascript,programming-language-typescript,programming-language-python,programming-language-powershell,programming-language-java"
52
52
53
53
Your project has been configured to use [extension bundles](functions-bindings-register.md#extension-bundles), which automatically installs a predefined set of extension packages.
54
54
55
-
Extension bundles is enabled in the host.json file at the root of the project, which looks like the following:
55
+
Extension bundles usage is enabled in the host.json file at the root of the project, which appears as follows:
@@ -184,7 +184,7 @@ Now, it's time to republish the updated function app to Azure.
184
184
185
185
1. In Visual Studio Code, press F1 to open the command palette. In the command palette, search for and select `Azure Functions: Deploy to function app...`.
186
186
187
-
1. Choose the function app that you created in the first article. Because you are redeploying your project to the same app, select **Deploy** to dismiss the warning about overwriting files.
187
+
1. Choose the function app that you created in the first article. Because you're redeploying your project to the same app, select **Deploy** to dismiss the warning about overwriting files.
188
188
189
189
1. After deployment completes, you can again use cURL or a browser to test the redeployed function. As before, append the query string `&name=<yourname>` to the URL, as in the following example:
190
190
@@ -196,7 +196,7 @@ Now, it's time to republish the updated function app to Azure.
196
196
197
197
## Clean up resources
198
198
199
-
*Resources*inAzure refers to functionapps, functions, storage accounts, and so forth. They are grouped into *resource groups*, and you can delete everything in a group by deleting the group.
199
+
In Azure, *resources* refer to functionapps, functions, storage accounts, and so forth. They're grouped into *resource groups*, and you can delete everything in a group by deleting the group.
200
200
201
201
You created resources to complete these quickstarts. You may be billed for these resources, depending on your [account status](https://azure.microsoft.com/account/) and [service pricing](https://azure.microsoft.com/pricing/). If you don't need the resources anymore, here's how to delete them:
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-how-to-github-actions.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Use GitHub Actions to make code updates in Azure Functions
3
3
description: Learn how to use GitHub Actions to define a workflow to build and deploy Azure Functions projects in GitHub.
4
4
author: craigshoemaker
5
5
ms.topic: conceptual
6
-
ms.date: 09/16/2019
6
+
ms.date: 04/16/2020
7
7
ms.author: cshoe
8
8
---
9
9
@@ -34,29 +34,31 @@ You can create a [service principal](../active-directory/develop/app-objects-and
34
34
az ad sp create-for-rbac --name "myApp" --role contributor --scopes /subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.Web/sites/<APP_NAME> --sdk-auth
35
35
```
36
36
37
-
In this example, replace the placeholders in the resource with your subscription ID, resource group, and function app name. The output is the role assignment credentials that provides access to your function app. Copy this JSON object, which you can use to authenticate from GitHub.
37
+
In this example, replace the placeholders in the resource with your subscription ID, resource group, and function app name. The output is the role assignment credentials that provide access to your function app. Copy this JSON object, which you can use to authenticate from GitHub.
38
38
39
39
> [!IMPORTANT]
40
40
> It is always a good practice to grant minimum access. This is why the scope in the previous example is limited to the specific function app and not the entire resource group.
41
41
42
42
## Download the publishing profile
43
43
44
-
You can download the publishing profile of your function app, by going to the **Overview** page of your app and clicking **Get publish profile**.
44
+
To download the publishing profile of your function app:
* If you're using the service principal that you created by using the Azure CLI, use `AZURE_CREDENTIALS` for the **Name**. Then paste the copied JSON object output for **Value**, and select **Add secret**.
59
-
* If you're using a publishing profile, use `SCM_CREDENTIALS` for the **Name**. Then use the publishing profile's file content for **Value**, and select **Add secret**.
60
+
* If you're using the service principal that you created by using the Azure CLI, use `AZURE_CREDENTIALS` for the **Name**. Then, paste the copied JSON object output for **Value**, and select **Add secret**.
61
+
* If you're using a publishing profile, use `SCM_CREDENTIALS` for the **Name**. Then, use the publishing profile's file content for **Value**, and select **Add secret**.
60
62
61
63
GitHub can now authenticate to your function app in Azure.
62
64
@@ -212,7 +214,7 @@ The following example uses version 1 of the `functions-action`:
212
214
213
215
## Next steps
214
216
215
-
To view a complete workflow .yaml, see one of the files in the [Azure GitHub Actions workflow samples repo](https://aka.ms/functions-actions-samples) that have `functionapp` in the name. You can use these samples a starting point for your workflow.
217
+
To view a complete workflow .yaml file, see one of the files in the [Azure GitHub Actions workflow samples repo](https://aka.ms/functions-actions-samples) that have `functionapp` in the name. You can use these samples a starting point for your workflow.
216
218
217
219
> [!div class="nextstepaction"]
218
220
> [Learn more about GitHub Actions](https://help.github.com/en/articles/about-github-actions)
description: Learn how to use Azure Monitor Logs with Azure Functions to monitor function executions.
4
4
author: craigshoemaker
5
5
ms.topic: conceptual
6
-
ms.date: 10/09/2019
6
+
ms.date: 04/15/2020
7
7
ms.author: cshoe
8
8
# Customer intent: As a developer, I want to monitor my functions so I can know if they're running correctly.
9
9
---
@@ -21,17 +21,23 @@ Azure Monitor uses a version of the [Kusto query language](/azure/kusto/query/)
21
21
22
22
## Setting up
23
23
24
-
From the **Monitoring** section, select **Diagnostic settings** and then click**Add diagnostic setting**.
24
+
1.From the **Monitoring** section of your function app in the [Azure portal](https://portal.azure.com), select **Diagnostic settings**, and then select**Add diagnostic setting**.
25
25
26
-

In the **Diagnostics settings** page, choose**Send to Log Analytics**, and then select your Log Analytics workspace. Under **log** choose **FunctionAppLogs**, this table contains the desired logs.
28
+
1.In the **Diagnostics settings** page, under**Category details** and **log**, choose **FunctionAppLogs**.
29
29
30
-

30
+
The **FunctionAppLogs** table contains the desired logs.
31
+
32
+
1. Under **Destination details**, choose **Send to Log Analytics**.and then select your **Log Analytics workspace**.
33
+
34
+
1. Enter a **Diagnostic settings name**, and then select **Save**.
35
+
36
+
:::image type="content" source="media/functions-monitor-log-analytics/choose-table.png" alt-text="Add a diagnostic setting":::
31
37
32
38
## User-generated logs
33
39
34
-
To generate custom logs, you can use the specific logging statement depending on your language, here are sample code snippets:
40
+
To generate custom logs, use the logging statement specific to your language. Here are sample code snippets:
0 commit comments