Skip to content

Commit c343f06

Browse files
committed
add notes
1 parent 53aedfe commit c343f06

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed

articles/azure-resource-manager/templates/create-visual-studio-deployment-project.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ ms.date: 03/20/2024
77

88
# Creating and deploying Azure resource groups through Visual Studio
99

10+
> [!NOTE]
11+
> The Azure Resource Group project is now in extended support, meaning we will continue to support existing features and capabilities but won't prioritize adding new features.
12+
13+
> [!NOTE]
14+
> For the best and most secure experience, we strongly recommend updating your Visual Studio installation to the [latest Long-Term Support (LTS) version](/visualstudio/install/update-visual-studio?view=vs-2022). Upgrading will improve both the reliability and overall performance of your Visual Studio environment.
15+
1016
With Visual Studio, you can create a project that deploys your infrastructure and code to Azure. For example, you can deploy the web host, website, and code for the website. Visual Studio provides many different starter templates for deploying common scenarios. In this article, you deploy a web app.
1117

1218
This article shows how to use [Visual Studio 2019 or later with the Azure development and ASP.NET workloads installed](/visualstudio/install/install-visual-studio). If you use Visual Studio 2017, your experience is largely the same.
@@ -86,11 +92,7 @@ You can customize a deployment project by modifying the Resource Manager templat
8692
}
8793
```
8894

89-
1. Visual Studio also provides intellisense to help you understand the properties that are available when editing the template. For example, to edit the properties for your App Service plan, navigate to the **HostingPlan** resource, and add a value for the **properties**. Notice that intellisense shows the available values and provides a description of that value.
90-
91-
:::image type="content" source="./media/create-visual-studio-deployment-project/show-intellisense.png" alt-text="Screenshot of Visual Studio editor showing intellisense suggestions for Resource Manager template.":::
92-
93-
You can set **numberOfWorkers** to 1, and save the file.
95+
1. Navigate to the **HostingPlan** resource, and add a value for the **properties** with some properties.
9496

9597
```json
9698
"properties": {
@@ -99,11 +101,22 @@ You can customize a deployment project by modifying the Resource Manager templat
99101
}
100102
```
101103

104+
You also need to define the `hostingPlanName` parameter:
105+
106+
```json
107+
"hostingPlanName": {
108+
"type": "string",
109+
"metadata": {
110+
"description": "Hosting paln name."
111+
}
112+
}
113+
```
114+
102115
1. Open the **WebSite.parameters.json** file. You use the parameters file to pass in values during deployment that customize the resource being deployed. Give the hosting plan a name, and save the file.
103116

104117
```json
105118
{
106-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
119+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
107120
"contentVersion": "1.0.0.0",
108121
"parameters": {
109122
"hostingPlanName": {
@@ -211,7 +224,7 @@ At this point, you've deployed the infrastructure for your app, but there's no a
211224

212225
```json
213226
{
214-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
227+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
215228
"contentVersion": "1.0.0.0",
216229
"parameters": {
217230
"hostingPlanName": {

articles/azure-resource-manager/templates/update-visual-studio-deployment-script.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22
title: Update Visual Studio's template deployment script to use Az PowerShell
33
description: Update the Visual Studio template deployment script from AzureRM to Az PowerShell
44
ms.topic: how-to
5-
ms.date: 09/26/2024
5+
ms.date: 10/18/2024
66
---
77

88
# Update Visual Studio template deployment script to use Az PowerShell module
99

10+
> [!NOTE]
11+
> The Azure Resource Group project is now in extended support, meaning we will continue to support existing features and capabilities but won't prioritize adding new features.
12+
13+
> [!NOTE]
14+
> For the best and most secure experience, we strongly recommend updating your Visual Studio installation to the [latest Long-Term Support (LTS) version](/visualstudio/install/update-visual-studio?view=vs-2022). Upgrading will improve both the reliability and overall performance of your Visual Studio environment.
15+
1016
Visual Studio 16.4 supports using the Az PowerShell module in the template deployment script. However, Visual Studio doesn't automatically install that module. To use the Az module, you need to take four steps:
1117

1218
1. [Uninstall AzureRM module](/powershell/azure/uninstall-az-ps#uninstall-the-azurerm-module)

0 commit comments

Comments
 (0)