Skip to content

Commit f1a2735

Browse files
committed
add reference to REST API to create and manage environments+
1 parent 1dcff6c commit f1a2735

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/pipelines/process/environments.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ To add an environment, you need the following prerequisites:
4444
- The [Creator role for environments](../library/add-resource-protection.md#environments) in your project.
4545

4646
<a name="creation"></a>
47+
4748
## Create an environment
4849

4950
To create your first environment:
@@ -61,8 +62,12 @@ To create your first environment:
6162
> [!TIP]
6263
> You can create an empty environment and reference it from deployment jobs so you can record deployment history against the environment.
6364
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+
6467
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).
6568

69+
70+
6671
<a name="target-from-deployment-job"></a>
6772
## Target an environment from a deployment job
6873

0 commit comments

Comments
 (0)