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
description: Learn how to manage your environments in the developer portal or by using the Azure CLI.
4
+
description: Learn how to manage your deployment environments in the developer portal or by using the Azure CLI.
5
5
author: RoseHJM
6
6
ms.author: rosemalcolm
7
7
ms.service: deployment-environments
8
-
ms.topic: quickstart
9
-
ms.date: 02/24/2023
8
+
ms.topic: how-to
9
+
ms.date: 02/28/2023
10
10
---
11
11
12
12
# Manage your environment
@@ -22,15 +22,15 @@ As a developer, you can create and manage your environments from the developer p
22
22
23
23
## Manage an environment by using the developer portal
24
24
25
-
The developer portal provides a graphical interface for creation and management tasks and provides a visual status for your environments and dev boxes. You can create, redeploy, and delete your environments as needed.
25
+
The developer portal provides a graphical interface for creation and management tasks and provides a visual status for your environments and dev boxes. You can create, redeploy, and delete your environments as needed.
26
26
27
-
### Create an environment
27
+
### Create an environment by using the developer portal
28
28
29
29
1. Sign in to the [developer portal](https://devportal.microsoft.com).
30
30
1. From the **New** menu at the top right, select **New environment**.
31
-
31
+
32
32
:::image type="content" source="media/how-to-manage-environments/new-environment.png" alt-text="Screenshot showing the new menu with new environment highlighted.":::
33
-
33
+
34
34
1. In the Add an environment pane, select the following information:
35
35
36
36
|Field |Value |
@@ -42,62 +42,62 @@ The developer portal provides a graphical interface for creation and management
If your environment is configured to accept parameters, you're able to enter them on a separate pane. If your environment doesn't use parameters, select Create.
45
+
If parameters are defined on the catalog item, you're prompted to enter them on a separate pane. If your environment doesn't use parameters, select Create.
46
46
47
47
:::image type="content" source="media/how-to-manage-environments/parameter-pane.png" alt-text="Screenshot showing the parameter pane.":::
48
48
49
49
1. Select **Create**. You see the environment tile in the developer portal immediately, displaying the **Creating...** status while creation is in progress.
50
-
50
+
51
51
1. To view the resources created for the environment, select **Environment Resources**.
52
-
52
+
53
53
:::image type="content" source="media/how-to-manage-environments/environment-resources-link.png" alt-text="Screenshot showing an environment tile with the Environment Resources link highlighted. ":::
54
54
55
55
1. The environment resources display in the Azure portal.
56
56
57
57
:::image type="content" source="media/how-to-manage-environments/environment-resources.png" alt-text="Screenshot showing environment resources in the Azure portal.":::
58
58
59
-
60
-
### Redeploy an environment
59
+
### Redeploy an environment by using the developer portal
61
60
62
61
When you need to update your environment parameters, you can redeploy it. The redeployment process updates any existing resources with changed properties and creates any new resources from the catalog item in the environment resource group.
63
62
64
63
1. Sign in to the [developer portal](https://devportal.microsoft.com).
65
64
66
65
1. On the environment you want to redeploy, from the options menu, select **Redeploy**.
67
-
66
+
68
67
:::image type="content" source="media/how-to-manage-environments/option-redeploy.png" alt-text="Screenshot showing an environment tile with the options menu expanded and the redeploy option selected.":::
69
68
70
-
1. If your environment includes configurable parameters, you're prompted to make any changes you want. When you've made your changes, select **Redeploy**.
71
-
69
+
1. If parameters are defined on the catalog item, you're prompted to make any changes you want. When you've made your changes, select **Redeploy**.
70
+
72
71
:::image type="content" source="media/how-to-manage-environments/redeploy-parameters.png" alt-text="Screenshot showing the redeploy parameters pane.":::
73
72
74
-
1. If your environment does not include configurable parameters, you see the Redeploy *environment name* message. Select **Redeploy**.
73
+
1. If your environment doesn't include configurable parameters, you see the Redeploy *environment name* message. Select **Redeploy**.
1. The environment displays the **Redeploying...** status while the redeployment takes place.
79
-
78
+
80
79
1. To view the redeployed resources, select **Environment Resources**.
81
-
80
+
82
81
1. The environment resources display in the Azure portal.
83
82
84
83
:::image type="content" source="media/how-to-manage-environments/redeployed-resources.png" alt-text="Screenshot showing redeployed resources in the Azure portal.":::
85
84
86
-
### Delete an environment
87
-
You can delete your environment completely when you don't need it anymore.
85
+
### Delete an environment by using the developer portal
86
+
87
+
You can delete your environment completely when you don't need it anymore.
88
88
89
89
1. Sign in to the [developer portal](https://devportal.microsoft.com).
90
90
91
91
1. On the environment you want to redeploy, from the options menu, select **Delete**.
92
-
92
+
93
93
:::image type="content" source="media/how-to-manage-environments/option-delete.png" alt-text="Screenshot showing an environment tile with the options menu expanded and the delete option selected.":::
94
94
95
95
1. In the confirmation message, select **Delete**
96
-
96
+
97
97
:::image type="content" source="media/how-to-manage-environments/confirm-delete.png" alt-text="Screenshot showing a confirm deletion message with Delete highlighted.":::
98
98
99
99
1. The environment tile displays the status **Deleting...** while the deletion is in progress.
100
-
100
+
101
101
## Manage an environment by using the Azure CLI
102
102
103
103
The Azure CLI provides a command line interface for speed and efficiency when creating multiple similar environments, or for platforms where resources like memory are limited. You can use the following commands to create, list, deploy, or delete an environment.
@@ -108,31 +108,31 @@ To learn how to Deployment Environments Azure CLI Extension, refer to [Configure
108
108
109
109
```azurecli
110
110
az devcenter dev environment create --dev-center-name <devcenter-name> \
az devcenter dev environment delete --dev-center <devcenter-name> --project-name <project-name> -n <name> --user-id "me"
132
+
az devcenter dev environment delete --dev-center-name <devcenter-name> --project-name <project-name> --environment-name <environment-name> --user-id "me"
133
133
```
134
134
135
135
## Next steps
136
136
137
137
- Learn about configuring Azure Deployment Environments: [Quickstart: Create and configure a dev center](quickstart-create-and-configure-devcenter.md)
138
-
- Learn more about managing your environments with the CLI: [Create and access an environment by using the Azure CLI](how-to-create-access-environments.md)
138
+
- Learn more about managing your environments with the CLI: [Create and access an environment by using the Azure CLI](how-to-create-access-environments.md)
0 commit comments