Skip to content

Commit 1708bc9

Browse files
authored
Merge pull request #303761 from ggailey777/vs-code
[Functions] New VS Code quickstart with multi-lang pivots
2 parents 1fbcf36 + 44adba3 commit 1708bc9

File tree

64 files changed

+440
-897
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+440
-897
lines changed

articles/api-center/enable-api-analysis-linting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To deploy the Azure Functions app that runs the linting function on API definiti
119119
1. Clone the [GitHub repository](https://github.com/Azure/APICenter-Analyzer/) and open it in Visual Studio Code.
120120
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.
121121
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).
123123
124124
> [!NOTE]
125125
> Deploying the function app might take a few minutes.

articles/azure-functions/.openpublishing.redirection.azure-functions.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,36 @@
634634
"source_path_from_root": "/articles/azure-functions/functions-geo-disaster-recovery.md",
635635
"redirect_url": "/azure/reliability/reliability-functions",
636636
"redirect_document_id": false
637-
}
637+
},
638+
{
639+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-powershell.md",
640+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-powershell",
641+
"redirect_document_id": false
642+
},
643+
{
644+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-python.md",
645+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-python",
646+
"redirect_document_id": false
647+
},
648+
{
649+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-java.md",
650+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-java",
651+
"redirect_document_id": false
652+
},
653+
{
654+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-csharp.md",
655+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-csharp",
656+
"redirect_document_id": false
657+
},
658+
{
659+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-typescript.md",
660+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-typescript",
661+
"redirect_document_id": false
662+
},
663+
{
664+
"source_path_from_root": "/articles/azure-functions/create-first-function-vs-code-node.md",
665+
"redirect_url": "/azure/azure-functions/how-to-create-function-vs-code?pivots=programming-language-javascript",
666+
"redirect_document_id": false
667+
}
638668
]
639-
}
669+
}

articles/azure-functions/TOC.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
href: functions-create-your-first-function-visual-studio.md
3030
- name: Visual Studio Code
3131
displayName: C#, quickstart, get started
32-
href: create-first-function-vs-code-csharp.md
32+
href: how-to-create-function-vs-code.md?pivots=programming-language-csharp
3333
- name: Command line
3434
displayName: C#, quickstart, get started
3535
href: how-to-create-function-azure-cli.md?pivots=programming-language-csharp
@@ -58,15 +58,15 @@
5858
href: /azure/developer/java/spring-framework/getting-started-with-spring-cloud-function-in-azure?toc=/azure/azure-functions/toc.json
5959
- name: Visual Studio Code
6060
displayName: Java, quickstart, get started
61-
href: create-first-function-vs-code-java.md
61+
href: how-to-create-function-vs-code.md?pivots=programming-language-java
6262
- name: Azure Developer CLI
6363
displayName: Java, quickstart, get started, Flex Consumption plan
6464
href: create-first-function-azure-developer-cli.md?pivots=programming-language-java
6565
- name: JavaScript
6666
items:
6767
- name: Visual Studio Code
6868
displayName: JavaScript, quickstart, get started
69-
href: create-first-function-vs-code-node.md
69+
href: how-to-create-function-vs-code.md?pivots=programming-language-javascript
7070
- name: Command line
7171
displayName: JavaScript, quickstart, get started
7272
href: how-to-create-function-azure-cli.md?pivots=programming-language-javascript
@@ -77,7 +77,7 @@
7777
items:
7878
- name: Visual Studio Code
7979
displayName: PowerShell, quickstart, get started
80-
href: create-first-function-vs-code-powershell.md
80+
href: how-to-create-function-vs-code.md?pivots=programming-language-powershell
8181
- name: Command line
8282
displayName: PowerShell, quickstart, get started
8383
href: how-to-create-function-azure-cli.md?pivots=programming-language-powershell
@@ -88,7 +88,7 @@
8888
items:
8989
- name: Visual Studio Code
9090
displayName: Python, quickstart, get started
91-
href: create-first-function-vs-code-python.md
91+
href: how-to-create-function-vs-code.md?pivots=programming-language-python
9292
- name: Command line
9393
displayName: Python, quickstart, get started
9494
href: how-to-create-function-azure-cli.md?pivots=programming-language-python
@@ -99,7 +99,7 @@
9999
items:
100100
- name: Visual Studio Code
101101
displayName: TypeScript, quickstart, get started
102-
href: create-first-function-vs-code-typescript.md
102+
href: how-to-create-function-vs-code.md?pivots=programming-language-typescript
103103
- name: Command line
104104
displayName: TypeScript, quickstart, get started
105105
href: how-to-create-function-azure-cli.md?pivots=programming-language-typescript

articles/azure-functions/configure-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ For a function app to send data to Application Insights, it needs to connect to
290290
| **[`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). |
291291
| **[`APPINSIGHTS_INSTRUMENTATIONKEY`](functions-app-settings.md#appinsights_instrumentationkey)** | Legacy setting, which Application Insights has deprecated in favor of the connection string setting. |
292292

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.
294294

295295
### Require Microsoft Entra authentication
296296

articles/azure-functions/consumption-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Use the following links to learn how to create a serverless function app in a Co
3939
- [Azure portal](./functions-get-started.md)
4040
- [Azure Resource Manager template](functions-create-first-function-resource-manager.md)
4141

42-
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#create-the-function-app-in-azure) or [Visual Studio](functions-create-your-first-function-visual-studio.md#publish-the-project-to-azure).
4343

4444
## Multiple apps in the same plan
4545

articles/azure-functions/create-first-function-vs-code-csharp.md

Lines changed: 0 additions & 77 deletions
This file was deleted.

articles/azure-functions/create-first-function-vs-code-java.md

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)