Skip to content

Commit e4f4ac4

Browse files
authored
Merge pull request #295896 from v-albemi/create-environment
Freshness Edit: Azure Deployment Environments Set 1
2 parents 8507166 + 53a9efe commit e4f4ac4

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

articles/deployment-environments/how-to-create-access-environments.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,23 @@ ms.author: rosemalcolm
77
ms.service: azure-deployment-environments
88
ms.custom: devx-track-azurecli, build-2023
99
ms.topic: how-to
10-
ms.date: 12/07/2023
10+
ms.date: 03/10/2025
11+
12+
#customer-intent: As a developer, I want to deploy an environment so that I can create resources and a resource group.
1113
---
1214

1315
# Create and access an environment by using the Azure CLI
1416

15-
This guide explains how to create and access an [environment](concept-environments-key-concepts.md#environments) in an existing Azure Deployment Environments project by using the Azure CLI.
17+
This article explains how to create and access an [environment](concept-environments-key-concepts.md#environments) in an existing Azure Deployment Environments project by using the Azure CLI.
1618

1719
## Prerequisites
1820

19-
- [Install the Azure CLI extension for Azure Deployment Environments](how-to-install-devcenter-cli-extension.md)
20-
- [Create and configure a dev center by using the Azure CLI](how-to-create-configure-dev-center.md)
21-
- [Create and configure a project by using the Azure CLI](how-to-create-configure-projects.md)
21+
|Category|Requirement|
22+
|-|-|
23+
|Installation| [The Azure CLI extension for Azure Deployment Environments](how-to-install-devcenter-cli-extension.md).|
24+
|Procedure|Completion of [Create and configure a dev center by using the Azure CLI](how-to-create-configure-dev-center.md).|
25+
|Procedure|Completion of [Create and configure a project by using the Azure CLI](how-to-create-configure-projects.md).|
26+
|Permissions|To create an environment: The [Deployment Environments User](how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions. |
2227

2328
## Create an environment
2429

@@ -34,13 +39,13 @@ Complete the following steps in the Azure CLI to create an environment and confi
3439
az login
3540
```
3641
37-
1. Install the Azure Dev Center extension for the CLI.
42+
1. Install or upgrade the Azure Dev Center extension for the CLI:
3843
3944
```azurecli
4045
az extension add --name devcenter --upgrade
4146
```
4247

43-
1. List all the Azure Deployment Environments projects you have access to:
48+
1. List all the Azure Deployment Environments projects that you have access to:
4449

4550
```azurecli
4651
az graph query -q "Resources | where type =~ 'microsoft.devcenter/projects'" -o table
@@ -58,7 +63,7 @@ Complete the following steps in the Azure CLI to create an environment and confi
5863
az config set defaults.group=<resourceGroupName>
5964
```
6065

61-
1. List the type of environments you can create in a specific project:
66+
1. List the type of environments that you can create in a specific project:
6267

6368
```azurecli
6469
az devcenter dev environment-type list --dev-center <devcenterName> --project-name <projectName> -o table
@@ -70,7 +75,7 @@ Complete the following steps in the Azure CLI to create an environment and confi
7075
az devcenter dev environment-definition list --dev-center <devcenterName> --project-name <projectName> -o table
7176
```
7277

73-
1. Create an environment by using an *environment-definition* (an infrastructure as code template defined in the [environment.yaml](configure-environment-definition.md#add-a-new-environment-definition) file) from the list of available environment definitions:
78+
1. Create an environment by using an *environment-definition* (an infrastructure-as-code template that's defined in the [environment.yaml](configure-environment-definition.md#add-a-new-environment-definition) file) from the list of available environment definitions:
7479

7580
```azurecli
7681
az devcenter dev environment create --dev-center-name <devcenterName>

articles/deployment-environments/includes/note-deployment-environments-user.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ ms.service: azure-deployment-environments
33
ms.topic: include
44
author: RoseHJM
55
ms.author: rosemalcolm
6-
ms.date: 11/14/2023
6+
ms.date: 03/10/2025
77
---
88

99
> [!NOTE]
10-
> Only users who have the [Deployment Environments User](../how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](../how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions can create an environment. Users who have the [Deployment Environments Reader](../how-to-configure-deployment-environments-user.md) role can view their own environments, and environments created by others.
10+
> Only users who have the [Deployment Environments User](../how-to-configure-deployment-environments-user.md) role, the [DevCenter Project Admin](../how-to-configure-project-admin.md) role, or a built-in role that has appropriate permissions can create an environment. Users who have the [Deployment Environments Reader](../how-to-configure-deployment-environments-user.md) role can view their own environments and environments created by others.

0 commit comments

Comments
 (0)