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 configure dev center environment types to define the types of environments that your developers can deploy.
4
+
description: Learn how to configure dev center environment types to define environments that your developers can deploy.
5
5
ms.service: deployment-environments
6
6
ms.custom: ignite-2022
7
7
ms.author: rosemalcolm
@@ -10,56 +10,56 @@ ms.date: 10/12/2022
10
10
ms.topic: how-to
11
11
---
12
12
13
-
# Configure environment types for your Dev center
13
+
# Configure environment types for your dev center
14
14
15
-
In Azure Deployment Environments Preview, [environment types](./concept-environments-key-concepts.md#dev-center-environment-types)are used to define the types of environments available to development teams to deploy. You have the flexibility to name the environment types as per the nomenclature used in your enterprise, for example, sandbox, dev, test, or production. You can specify deployment settings and the permissions available to developers per environment type per project.
15
+
In Azure Deployment Environments Preview, you use [environment types](./concept-environments-key-concepts.md#dev-center-environment-types) to define the environments that development teams can deploy. You have the flexibility to name the environment types according to the nomenclature that your enterprise uses: for example, sandbox, dev, test, or production. You can specify deployment settings and the permissions that are available to developers per environment type and per project.
16
16
17
17
In this article, you'll learn how to:
18
18
19
-
* Add a new environment type to your dev center
20
-
* Delete an environment type from the dev center
19
+
* Add a new environment type to a dev center.
20
+
* Delete an environment type from a dev center.
21
21
22
-
:::image type="content" source="./media/configure-dev-center-environment-types/azure-deployment-environments-environment-types.png" alt-text="Screenshot of example Environment types.":::
22
+
:::image type="content" source="./media/configure-dev-center-environment-types/azure-deployment-environments-environment-types.png" alt-text="Screenshot of example environment types.":::
23
23
24
24
> [!IMPORTANT]
25
25
> Azure Deployment Environments is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
26
26
27
27
## Add a new dev center environment type
28
28
29
-
Environment types allow your development teams to choose from different types of environments when creating self-service environments.
30
-
31
29
Add a new environment type to the dev center as follows:
32
30
33
31
1. Sign in to the [Azure portal](https://portal.azure.com/).
34
-
1.Access Azure Deployment Environments.
32
+
1.Open Azure Deployment Environments.
35
33
1. Select your dev center from the list.
36
34
1. Select **Environment types** from the left pane.
37
-
1. Select **+ Add**
35
+
1. Select **+ Add**.
38
36
1. On the **Add environment type** page, add the following details:
39
-
1.Add a **Name** for the environment type.
40
-
1.Add a **Description** (optional).
41
-
1.Add**Tags**by adding **Name/Value** (optional).
37
+
1.For **Name**, add a name for the environment type.
38
+
1.For **Description**, add a description (optional).
39
+
1.For**Tags**, add tags by adding **Name** and **Value** information (optional).
42
40
1. Select **Add**.
43
41
44
-
:::image type="content" source="./media/configure-dev-center-environment-types/add-new-dev-center-environment-type.png" alt-text="Screenshot showing the add environment type page.":::
42
+
:::image type="content" source="./media/configure-dev-center-environment-types/add-new-dev-center-environment-type.png" alt-text="Screenshot that shows the page for adding an environment type.":::
45
43
46
44
>[!NOTE]
47
-
> A dev center environment type is available to a specific project only after an associated [project environment type](how-to-configure-project-environment-types.md) is added.
45
+
> A dev center environment type is available to a specific project only after you add an associated [project environment type](how-to-configure-project-environment-types.md).
48
46
49
47
## Delete a dev center environment type
50
48
51
49
> [!NOTE]
52
-
> Environment types can't be deleted if any existing project environment types or deployed environments reference the specific dev center environment type. Delete all the associated deployed environments and project environment types before attempting to delete an environment type.
50
+
> You can't delete a dev center environment type if any existing project environment types or deployed environments reference it. Delete all the associated project environment types and deployed environments before you try to delete a dev center environment type.
53
51
54
-
When you delete an environment type, it'll no longer be available when deploying environments or configuring new project environment types.
52
+
When you delete an environment type, it will no longer be available when you're deploying environments or configuring new project environment types.
53
+
54
+
To delete an environment type from a dev center:
55
55
56
56
1. Sign in to the [Azure portal](https://portal.azure.com/).
57
-
1.Access Azure Deployment Environments.
57
+
1.Open Azure Deployment Environments.
58
58
1. Select your dev center from the list.
59
59
1. Select **Environment types** from the left pane.
60
-
1. Select the environment type(s) you want to delete.
61
-
1. Select **Delete** and confirm.
60
+
1. Select the environment types that you want to delete.
61
+
1. Select **Delete** and then confirm.
62
62
63
63
## Next steps
64
64
65
-
*[Create and configure project environment type](how-to-configure-project-environment-types.md) to enable environment types for specific projects.
65
+
*[Create and configure environment types for specific projects](how-to-configure-project-environment-types.md)
description: Learn how to configure environment types to define deployment settings and permissions available to developers when deploying environments in a project.
4
+
description: Learn how to configure environment types to define deployment settings and permissions available to developers when they're deploying environments in a project.
5
5
ms.service: deployment-environments
6
6
ms.custom: ignite-2022
7
7
ms.author: rosemalcolm
@@ -12,92 +12,98 @@ ms.topic: how-to
12
12
13
13
# Configure project environment types
14
14
15
-
Project environment types are a subset of the [environment types configured per dev center](how-to-configure-devcenter-environment-types.md) and help pre-configure the different types of environments a specific development team can create . In Azure Deployment Environments Preview, [environment types](concept-environments-key-concepts.md#project-environment-types) added to the project will be available to developers when they deploy environments, and they determine the subscription and identity used for those deployments.
15
+
Project environment types are a subset of the [environment types configured for a dev center](how-to-configure-devcenter-environment-types.md). They help preconfigure the environments that a specific development team can create.
16
16
17
-
Project environment types enable the Dev Infra teams to:
18
-
- Configure the target subscription in which Azure resources will be created per environment type per project.
19
-
You will be able to provide different subscriptions for different Environment Types in a given project and thereby, automatically apply the right set of policies on different environments. This also abstracts Azure governance related concepts from your development teams.
20
-
- Pre-configure the managed identity that will be used to perform the deployment and the access levels development teams get after the specific environment is created.
17
+
In Azure Deployment Environments Preview, [environment types](concept-environments-key-concepts.md#project-environment-types) that you add to the project will be available to developers when they deploy environments. Environment types determine the subscription and identity that are used for those deployments.
18
+
19
+
Project environment types enable development infrastructure teams to:
20
+
21
+
- Configure the target subscription in which Azure resources will be created per environment type and per project.
22
+
23
+
You can provide subscriptions for environment types in a project to automatically apply the right set of policies on environments. This action also abstracts Azure governance-related concepts from your development teams.
24
+
- Preconfigure the managed identity that developers will use to perform the deployment, along with the access levels that development teams get after the environment is created.
21
25
22
26
In this article, you'll learn how to:
23
27
24
-
* Add a new project environment type
25
-
* Update a project environment type
26
-
* Enable or disable a project environment type
27
-
* Delete a project environment type
28
+
* Add a new project environment type.
29
+
* Update a project environment type.
30
+
* Enable or disable a project environment type.
31
+
* Delete a project environment type.
28
32
29
33
> [!IMPORTANT]
30
34
> Azure Deployment Environments is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
31
35
32
36
## Prerequisites
33
-
- A [dev center level environment type](how-to-configure-devcenter-environment-types.md).
37
+
Before you configure a project environment type, you need:
34
38
35
-
## Add a new project environment type
39
+
- An [environment type at the dev center level](how-to-configure-devcenter-environment-types.md).
40
+
-[Write access](/azure/devops/organizations/security/add-users-team-project) to the specific project.
36
41
37
-
>[!NOTE]
38
-
> To configure project environment types, you'll need write [access](/azure/devops/organizations/security/add-users-team-project) to the specific project.
42
+
## Add a new project environment type
39
43
40
-
Configuring a new project environment type will enable your development teams to create an environment with a specific environment type. The environment will be created in the mapped subscription using the configured deployment identity, along with permissions granted to the resources created as part of the environment, and all the associated policies automatically applied.
44
+
When you configure a new project environment type, your development teams can use it to create an environment. They'll create the environment in the mapped subscription by using the configured deployment identity, along with permissions granted to resources created as part of the environment. All the associated policies are automatically applied.
41
45
42
46
Add a new project environment type as follows:
43
47
44
48
1. Sign in to the [Azure portal](https://portal.azure.com/).
45
-
1.Access Azure Deployment Environments.
46
-
1. Select **Projects** from the left pane, and then select the specific Project.
49
+
1.Open Azure Deployment Environments.
50
+
1. Select **Projects** from the left pane, and then select the specific project.
47
51
1. Select **Environment types** from the left pane.
48
52
1. Select **+ Add**.
49
53
50
-
:::image type="content" source="./media/configure-project-environment-types/add-new-project-environment-type.png" alt-text="Screenshot showing adding a project environment type.":::
54
+
:::image type="content" source="./media/configure-project-environment-types/add-new-project-environment-type.png" alt-text="Screenshot that shows selections for adding a project environment type.":::
51
55
52
56
1. On the **Add environment type to Project** page, provide the following details:
53
57
54
58
|Name |Value |
55
59
|---------|----------|
56
-
|**Type**| Select a dev center level environment type to enable for the specific project.|
57
-
|**Deployment Subscription**| Select the target subscription in which the environments will be created.|
58
-
|**Deployment Identity**| Select either a systemassigned identity or a userassigned managed identity that'll be used to perform deployments on behalf of the user.|
59
-
|**Permissions on environment resources** > **Environment Creator Role(s)**| Select the role(s) that'll get access to the environment resources.|
60
-
|**Permissions on environment resources** > **Additional access**| Select the user(s) or Azure Active Directory (Azure AD) group(s) that'll be granted specific role(s) on the environment resources.|
61
-
|**Tags** (optional) | Provide a **Name** and **Value**. These tags will be applied on all resources created as part of the environments.|
60
+
|**Type**| Select a dev center environment type to enable for the project.|
61
+
|**Deployment subscription**| Select the target subscription in which the environment will be created.|
62
+
|**Deployment identity**| Select either a system-assigned identity or a user-assigned managed identity that will be used to perform deployments on behalf of the user.|
63
+
|**Permissions on environment resources** > **Environment Creator Role(s)**| Select the roles that will get access to the environment resources.|
64
+
|**Permissions on environment resources** > **Additional access**| Select the users or Azure Active Directory groups that will be granted specific roles on the environment resources.|
65
+
|**Tags** (optional) | Provide a name and value for tags that will be applied on all resources created as part of the environments.|
62
66
63
-
:::image type="content" source="./media/configure-project-environment-types/add-project-environment-type-page.png" alt-text="Screenshot showing adding details on the add project environment type page.":::
67
+
:::image type="content" source="./media/configure-project-environment-types/add-project-environment-type-page.png" alt-text="Screenshot that shows adding details on the page for adding a project environment type.":::
64
68
65
69
> [!NOTE]
66
-
> At least one identity (system assigned or user assigned) must be enabled for deployment identity and will be used to perform the environment deployment on behalf of the developer. Additionally, the identity attached to the dev center should be [granted 'Owner' access to the deployment subscription](how-to-configure-managed-identity.md) configured per environment type.
70
+
> At least one identity (system assigned or user assigned) must be enabled for deployment identity. It will be used to perform the environment deployment on behalf of the developer. Additionally, the identity attached to the dev center should be [granted Owner access to the deployment subscription](how-to-configure-managed-identity.md) configured per environment type.
67
71
68
72
## Update a project environment type
69
73
70
-
A project environment type can be updated to use a different subscription or deployment identity when deploying environments. Once the project environment type is updated, it will only affect creation of new environments. Existing environments will continue to exist in the previously mapped subscription.
74
+
You can update a project environment type so that it uses a different subscription or deployment identity when developers deploy environments. Updating a project environment type affects only the creation of new environments. Existing environments will continue to exist in the previously mapped subscription.
71
75
72
76
Update an existing project environment type as follows:
73
77
74
-
1. Navigate to the Azure Deployment Environments Project.
75
-
1. Select **Environment types** from the left pane of the specific Project.
76
-
1. Select the environment type you want to update.
78
+
1. In the Azure portal, open Azure Deployment Environments.
79
+
1. Select **Projects** from the left pane, and then select the specific project.
80
+
1. Select **Environment types** from the left pane.
81
+
1. Select the environment type that you want to update.
77
82
1. Select the **Edit** icon () on the specific row.
78
83
1. On the **Edit environment type** page, update the previous configuration, and then select **Submit**.
79
84
80
85
## Enable or disable a project environment type
81
86
82
-
A project environment type can be disabled to prevent developers from creating new environments with the specific environment type. Once a project environment type is disabled, it cannot be used to create a new environment. Existing environments are not affected.
87
+
You can disable a project environment type to prevent developers from using it to create environments. Disabling a project environment type doesn't affect existing environments.
83
88
84
-
When a disabled environment type is re-enabled, development teams will be able to create new environments with that specific environment type.
89
+
When you enable an environment type (or re-enable one that you disabled), development teams can use it to create environments.
85
90
86
-
1. Navigate to the Azure Deployment Environments project.
87
-
1. Select **Environment types** on the left pane of the specific project.
88
-
1. Select the specific environment type to enable or disable.
91
+
1. In the Azure portal, open Azure Deployment Environments.
92
+
1. Select **Projects** from the left pane, and then select the specific project.
93
+
1. Select **Environment types** from the left pane.
94
+
1. Select the environment type to enable or disable.
89
95
1. Select **Enable** or **Disable** from the command bar and then confirm.
90
96
91
97
## Delete a project environment type
92
98
93
-
You can delete a specific project environment type only if it is not being used by any deployed environments in the Project. Once you delete a specific project environment type, development teams will no longer be able to use it to create environments.
99
+
You can delete a specific project environment type only if no deployed environments in the project are using it. After you delete a project environment type, development teams can't use it to create environments.
94
100
95
-
1. Navigate to the Azure Deployment Environments project.
96
-
1. Select **Environment types** from the left pane of the specific project.
101
+
1. In the Azure portal, open Azure Deployment Environments.
102
+
1. Select **Projects** from the left pane, and then select the specific project.
103
+
1. Select **Environment types** from the left pane.
97
104
1. Select a project environment type to delete.
98
-
1. Select **Delete** from the command bar.
99
-
1. Confirm to delete the project environment type.
105
+
1. Select **Delete** from the command bar and then confirm.
100
106
101
107
## Next steps
102
108
103
-
* Get started with [creating environments](quickstart-create-access-environments.md)
109
+
* Get started with [creating environments](quickstart-create-access-environments.md).
0 commit comments