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/api-center/enable-api-analysis-linting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ To deploy the Azure Functions app that runs the linting function on API definiti
119
119
1. Clone the [GitHub repository](https://github.com/Azure/APICenter-Analyzer/) and open it in Visual Studio Code.
120
120
1. In the `resources/rulesets` folder, you can find an `oas.yaml` file. This file reflects your current API style guide and can be modified based on your organizational needs and requirements.
121
121
1. Optionally, run the function app locally to test it. For details, see the [README](https://github.com/Azure/APICenter-Analyzer/tree/preview#-configure--run-your-function-locally) file in the repository.
122
-
1. Deploy the function app to Azure. For steps, see [Quickstart: Create a function in Azure with TypeScript using Visual Studio Code](../azure-functions/create-first-function-vs-code-typescript.md#sign-in-to-azure).
122
+
1. Deploy the function app to Azure. For steps, see [Quickstart: Create a function in Azure with TypeScript using Visual Studio Code](../azure-functions/how-to-create-function-vs-code.md?pivot=programming-language-typescript#sign-in-to-azure).
123
123
124
124
> [!NOTE]
125
125
> Deploying the function app might take a few minutes.
Copy file name to clipboardExpand all lines: articles/azure-functions/configure-monitoring.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ For a function app to send data to Application Insights, it needs to connect to
290
290
|**[`APPLICATIONINSIGHTS_CONNECTION_STRING`](functions-app-settings.md#applicationinsights_connection_string)**| This setting is recommended and is required when your Application Insights instance runs in a sovereign cloud. The connection string supports other [new capabilities](/azure/azure-monitor/app/migrate-from-instrumentation-keys-to-connection-strings#new-capabilities). |
291
291
|**[`APPINSIGHTS_INSTRUMENTATIONKEY`](functions-app-settings.md#appinsights_instrumentationkey)**| Legacy setting, which Application Insights has deprecated in favor of the connection string setting. |
292
292
293
-
When you create your function app in the [Azure portal](./functions-get-started.md) from the command line by using [Azure Functions Core Tools](./how-to-create-function-azure-cli.md?pivots=programming-language-csharp) or [Visual Studio Code](./create-first-function-vs-code-csharp.md), Application Insights integration is enabled by default. The Application Insights resource has the same name as your function app, and is created either in the same region or in the nearest region.
293
+
When you create your function app in the [Azure portal](./functions-get-started.md) from the command line by using [Azure Functions Core Tools](./how-to-create-function-azure-cli.md?pivots=programming-language-csharp) or [Visual Studio Code](./how-to-create-function-vs-code.md?pivot=programming-language-csharp), Application Insights integration is enabled by default. The Application Insights resource has the same name as your function app, and is created either in the same region or in the nearest region.
You can also create function apps in a Consumption plan when you publish a Functions project from [Visual Studio Code](./create-first-function-vs-code-csharp.md#publish-the-project-to-azure) or [Visual Studio](functions-create-your-first-function-visual-studio.md#publish-the-project-to-azure).
42
+
You can also create function apps in a Consumption plan when you publish a Functions project from [Visual Studio Code](./how-to-create-function-vs-code.md?pivot=programming-language-csharp#publish-the-project-to-azure) or [Visual Studio](functions-create-your-first-function-visual-studio.md#publish-the-project-to-azure).
Copy file name to clipboardExpand all lines: articles/azure-functions/flex-consumption-how-to.md
+6-26Lines changed: 6 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,33 +32,13 @@ Function app resources are langauge-specific. Make sure to choose your preferred
32
32
33
33
+ While not required to create a Flex Consumption plan app, you need a code project to be able to deploy to and validate a new function app. Complete the first part of one of these quickstart articles, where you create a code project with an HTTP triggered function:
34
34
35
-
::: zone pivot="programming-language-csharp"
36
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-csharp)
37
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-csharp.md)
38
-
::: zone-end
39
-
::: zone pivot="programming-language-javascript"
40
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-javascript)
41
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-node.md)
42
-
::: zone-end
35
+
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md)
36
+
+[Create an Azure Functions project using Visual Studio Code](how-to-create-function-vs-code.md)
37
+
43
38
::: zone pivot="programming-language-java"
44
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-java)
45
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-java.md)
46
-
47
-
To create an app in a new Flex Consumption plan during a Maven deployment, you must create your local app project and then update the project's pom.xml file. For more information, see [Create a Java Flex Consumption app using Maven](#create-and-deploy-your-app-using-maven)
48
-
::: zone-end
49
-
::: zone pivot="programming-language-typescript"
50
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-typescript)
51
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-typescript.md)
39
+
To create an app in a new Flex Consumption plan during a Maven deployment, you must create your local app project and then update the project's pom.xml file. For more information, see [Create a Java Flex Consumption app using Maven](#create-and-deploy-your-app-using-maven)
52
40
::: zone-end
53
-
::: zone pivot="programming-language-python"
54
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-python)
55
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-python.md)
56
-
::: zone-end
57
-
::: zone pivot="programming-language-powershell"
58
-
+[Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-powershell)
59
-
+[Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-powershell.md)
60
-
::: zone-end
61
-
41
+
62
42
Return to this article after you create and run the local project, but before you're asked to create Azure resources. You create the function app and other Azure resources in the next section.
63
43
64
44
## Create a Flex Consumption app
@@ -297,7 +277,7 @@ You can use Maven to create a Flex Consumption hosted function app and required
297
277
1. Create a Java code project by completing the first part of one of these quickstart articles:
298
278
299
279
+ [Create an Azure Functions project from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-java)
300
-
+ [Create an Azure Functions project using Visual Studio Code](create-first-function-vs-code-java.md)
280
+
+ [Create an Azure Functions project using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-java)
301
281
302
282
1. In your Java code project, open the pom.xml file and make these changes to create your function app in the Flex Consumption plan:
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-add-openai-text-completion.md
+3-19Lines changed: 3 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,24 +28,8 @@ During this tutorial, you learn how to accomplish these tasks:
28
28
> * Add OpenAI bindings to your HTTP triggered function.
29
29
30
30
## 1. Check prerequisites
31
-
:::zone pivot="programming-language-csharp"
32
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-csharp.md).
33
-
:::zone-end
34
-
:::zone pivot="programming-language-java"
35
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-java.md).
36
-
:::zone-end
37
-
:::zone pivot="programming-language-javascript"
38
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-node.md).
39
-
:::zone-end
40
-
:::zone pivot="programming-language-typescript"
41
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-typescript.md).
42
-
:::zone-end
43
-
:::zone pivot="programming-language-python"
44
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-python.md).
45
-
:::zone-end
46
-
:::zone pivot="programming-language-powershell"
47
-
* Complete the steps in [part 1 of the Visual Studio Code quickstart](create-first-function-vs-code-powershell.md).
48
-
:::zone-end
31
+
32
+
* Complete the steps in [part 1 of Create a function in Azure using Visual Studio Code](how-to-create-function-vs-code.md).
49
33
* Obtain access to Azure OpenAI in your Azure subscription. If you haven't already been granted access, complete [this form](https://aka.ms/oai/access) to request access.
@@ -114,7 +98,7 @@ You now have everything you need to add Azure OpenAI-based text completion to yo
114
98
115
99
## 4. Update application settings
116
100
117
-
1. In Visual Studio Code, open the local code project you created when you completed the [previous article](./create-first-function-vs-code-csharp.md).
101
+
1. In Visual Studio Code, open the local code project you created when you completed the [previous article](./how-to-create-function-vs-code.md?pivot=programming-language-csharp).
118
102
119
103
1. In the local.settings.json file in the project root folder, update the `AzureWebJobsStorage` setting to `UseDevelopmentStorage=true`. You can skip this step if the `AzureWebJobsStorage` setting in *local.settings.json* is set to the connection string for an existing Azure Storage account instead of `UseDevelopmentStorage=true`.
This article shows you how to use Visual Studio Code to connect [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview) to the function you created in the previous quickstart article. The output binding that you add to this function writes data from the HTTP request to a table in Azure SQL Database.
20
20
21
21
::: zone pivot="programming-language-csharp"
22
-
Before you begin, you must complete the [quickstart: Create a C# function in Azure using Visual Studio Code](create-first-function-vs-code-csharp.md). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
22
+
Before you begin, you must complete the [quickstart: Create a C# function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-csharp). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
23
23
::: zone-end
24
24
::: zone pivot="programming-language-javascript"
25
-
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](create-first-function-vs-code-node.md?pivot=nodejs-model-v3). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
25
+
Before you begin, you must complete the [quickstart: Create a JavaScript function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-javascript?pivot=nodejs-model-v3). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
26
26
::: zone-end
27
27
::: zone pivot="programming-language-python"
28
-
Before you begin, you must complete the [quickstart: Create a Python function in Azure using Visual Studio Code](create-first-function-vs-code-python.md). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
28
+
Before you begin, you must complete the [quickstart: Create a Python function in Azure using Visual Studio Code](how-to-create-function-vs-code.md?pivot=programming-language-python). If you already cleaned up resources at the end of that article, go through the steps again to recreate the function app and related resources in Azure.
29
29
::: zone-end
30
30
31
31
More details on the settings for [Azure SQL bindings and trigger for Azure Functions](functions-bindings-azure-sql.md) are available in the Azure Functions documentation.
@@ -38,7 +38,7 @@ More details on the settings for [Azure SQL bindings and trigger for Azure Funct
38
38
39
39
|Prompt| Selection|
40
40
|--|--|
41
-
|**Resource group**|Choose the resource group where you created your function app in the [previous article](./create-first-function-vs-code-csharp.md). |
41
+
|**Resource group**|Choose the resource group where you created your function app in the [previous article](./how-to-create-function-vs-code.md?pivot=programming-language-csharp). |
42
42
|**Database name**|Enter `mySampleDatabase`.|
43
43
|**Server name**|Enter a unique name for your server. We can't provide an exact server name to use because server names must be globally unique for all servers in Azure, not just unique within a subscription. |
44
44
|**Authentication method**|Select **SQL Server authentication**.|
@@ -63,7 +63,7 @@ More details on the settings for [Azure SQL bindings and trigger for Azure Funct
63
63
64
64
## Update your function app settings
65
65
66
-
In the [previous quickstart article](./create-first-function-vs-code-csharp.md), you created a function app in Azure. In this article, you update your app to write data to the Azure SQL Database you've just created. To connect to your Azure SQL Database, you must add its connection string to your app settings. You then download the new setting to your local.settings.json file so you can connect to your Azure SQL Database when running locally.
66
+
In the [previous quickstart article](./how-to-create-function-vs-code.md?pivot=programming-language-csharp), you created a function app in Azure. In this article, you update your app to write data to the Azure SQL Database you've just created. To connect to your Azure SQL Database, you must add its connection string to your app settings. You then download the new setting to your local.settings.json file so you can connect to your Azure SQL Database when running locally.
67
67
68
68
1. Edit the connection string in the temporary document you created earlier. Replace the value of `Password` with the password you used when creating the Azure SQL Database. Copy the updated connection string.
0 commit comments