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/deployment-environments/how-to-configure-azure-developer-cli-deployment-environments.md
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,13 @@ author: RoseHJM
5
5
ms.author: rosemalcolm
6
6
ms.service: azure-deployment-environments
7
7
ms.topic: how-to
8
-
ms.date: 10/11/2024
8
+
ms.date: 11/27/2024
9
9
10
10
# Customer intent: As a developer, I want to use ADE and `azd` together to provision application infrastructure and deploy application code to the new infrastructure.
11
11
12
12
---
13
13
14
-
# Configure Azure Developer CLI with Azure Deployment Environments
14
+
# Create an environment from an Azure Developer CLI template
15
15
16
16
In this article, you create a new environment from an existing Azure Developer CLI (`azd`) compatible template by using `azd`. You learn how to configure Azure Deployment Environments (ADE) and `azd` to work together to provision application infrastructure and deploy application code to the new infrastructure.
17
17
@@ -73,9 +73,9 @@ When you install `azd`, the `azd` tools are installed within an `azd` scope rath
73
73
74
74
# [Visual Studio Code](#tab/visual-studio-code)
75
75
76
-
To enable Azure Developer CLI features in Visual Studio Code, install the Azure Developer CLI extension, version v0.8.0-alpha.1-beta.3173884. Select the **Extensions** icon in the Activity bar, search for **Azure Developer CLI**, and then select **Install**.
76
+
To enable Azure Developer CLI features in Visual Studio Code, install the Azure Developer CLI extension. Select the **Extensions** icon in the Activity bar, search for **Azure Developer CLI**, and then select **Install**.
77
77
78
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/install-azure-developer-cli-small.png" alt-text="Screenshot of Visual Studio Code, showing the Sign in command in the command palette." lightbox="media/how-to-create-environment-with-azure-developer/install-azure-developer-cli-large.png":::
78
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/install-azure-developer-cli-small.png" alt-text="Screenshot of Visual Studio Code, showing the Sign in command in the command palette." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/install-azure-developer-cli-large.png":::
79
79
80
80
# [Azure Developer CLI](#tab/azure-developer-cli)
81
81
@@ -93,11 +93,11 @@ Sign in to `azd` using the command palette:
93
93
94
94
# [Visual Studio Code](#tab/visual-studio-code)
95
95
96
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/azure-developer-sign-in.png" alt-text="Screenshot of Visual Studio Code, showing the Extensions pane with the Azure Developer CLI and Install highlighted." lightbox="media/how-to-create-environment-with-azure-developer/azure-developer-sign-in.png":::
96
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/azure-developer-sign-in.png" alt-text="Screenshot of Visual Studio Code, showing the Extensions pane with the Azure Developer CLI and Install highlighted." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/azure-developer-sign-in.png":::
97
97
98
98
The output of commands issued from the command palette is displayed in an **azd dev** terminal like the following example:
99
99
100
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/press-any-key.png" alt-text="Screenshot of the AZD developer terminal, showing the press any key to close message." lightbox="media/how-to-create-environment-with-azure-developer/press-any-key.png":::
100
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/press-any-key.png" alt-text="Screenshot of the AZD developer terminal, showing the press any key to close message." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/press-any-key.png":::
101
101
102
102
# [Azure Developer CLI](#tab/azure-developer-cli)
103
103
@@ -107,7 +107,7 @@ Sign in to Azure at the CLI using the following command:
107
107
azd auth login
108
108
```
109
109
110
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/login.png" alt-text="Screenshot showing the azd auth login command and its result in the terminal." lightbox="media/how-to-create-environment-with-azure-developer/login.png":::
110
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/login.png" alt-text="Screenshot showing the azd auth login command and its result in the terminal." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/login.png":::
111
111
112
112
---
113
113
@@ -117,7 +117,7 @@ When `platform.type` is set to `devcenter`, all `azd` remote environment state a
117
117
118
118
# [Visual Studio Code](#tab/visual-studio-code)
119
119
120
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/azure-developer-enable-support.png" alt-text="Screenshot of Visual Studio Code, showing the Enable support command in the command palette." lightbox="media/how-to-create-environment-with-azure-developer/azure-developer-enable-support.png":::
120
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/azure-developer-enable-support.png" alt-text="Screenshot of Visual Studio Code, showing the Enable support command in the command palette." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/azure-developer-enable-support.png":::
121
121
122
122
# [Azure Developer CLI](#tab/azure-developer-cli)
123
123
@@ -136,7 +136,7 @@ Now you're ready to create an environment to work in. You begin with an existing
136
136
137
137
1. Open the command palette, enter *Azure Developer CLI init*, and then from the list, select **Azure Developer CLI (azd): init**.
138
138
139
-
:::image type="content" source="media/how-to-create-environment-with-azure-developer/command-palette-azure-developer-initialize.png" alt-text="Screenshot of the Visual Studio Code command palette with Azure Developer CLI (azd): init highlighted." lightbox="media/how-to-create-environment-with-azure-developer/command-palette-azure-developer-initialize.png":::
139
+
:::image type="content" source="media/how-to-configure-azure-developer-cli-deployment-environments/command-palette-azure-developer-initialize.png" alt-text="Screenshot of the Visual Studio Code command palette with Azure Developer CLI (azd): init highlighted." lightbox="media/how-to-configure-azure-developer-cli-deployment-environments/command-palette-azure-developer-initialize.png":::
140
140
141
141
1. In the list of templates, select **Function-App-with-Cosmos_AZD-template**.
142
142
@@ -217,12 +217,9 @@ To learn more about the settings you can configure, see [Configure dev center se
217
217
218
218
You can use `azd` to provision and deploy resources to your deployment environments using commands like `azd up` or `azd provision`.
219
219
220
-
To learn more about provisioning your environment, see [Create an environment by using the Azure Developer CLI](how-to-create-environment-with-azure-developer.md#provision-infrastructure-to-azure-deployment-environment).
221
-
222
-
To how common `azd` commands work with ADE, see [Work with Azure Deployment Environments](/azure/developer/azure-developer-cli/ade-integration?branch=main#work-with-azure-deployment-evironments).
220
+
To learn more about provisioning your environment, see [Work with Azure Deployment Environments](/azure/developer/azure-developer-cli/ade-integration?branch=main#work-with-azure-deployment-evironments).
223
221
224
222
225
223
## Related content
226
224
227
-
- [Add and configure an environment definition](./configure-environment-definition.md)
228
-
- [Create an environment by using the Azure Developer CLI](./how-to-create-environment-with-azure-developer.md)
225
+
- [Azure Developer CLI and Azure Deployment Environments](concept-azure-developer-cli-with-deployment-environments.md)
0 commit comments