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: docs/pipelines/process/environments.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ To add an environment, you need the following prerequisites:
44
44
- The [Creator role for environments](../library/add-resource-protection.md#environments) in your project.
45
45
46
46
<aname="creation"></a>
47
+
47
48
## Create an environment
48
49
49
50
To create your first environment:
@@ -61,8 +62,12 @@ To create your first environment:
61
62
> [!TIP]
62
63
> You can create an empty environment and reference it from deployment jobs so you can record deployment history against the environment.
63
64
65
+
To programmatically create and manage environments, use the [Azure DevOps Environments REST API](https://learn.microsoft.com/en-us/rest/api/azure/devops/environments/environments).
66
+
64
67
You can use Azure Pipelines to deploy to environments. For more information, see [Build and deploy to Azure Kubernetes Service with Azure Pipelines](../ecosystems/kubernetes/aks-template.md).
0 commit comments