# Description
An environment is a basic organization structure that groups hosts, products, repositories, etc. Every host belongs to one environment and it's isolated inside so that it can see only content that is in its environment.
## Chains
Environments are ordered into chains and their content (products, repositories, tempaltes, packages) can be moved to an environment only from its prior environment. You can have for example chain like:
Library -> Development -> Testing -> Production
Each change in an environment is done through a changeset in an action called promotion.
## Library
Library is a special environment that has no ascendant: All the content starts in this environment. More chains can start from the library environment but no further branching of a chain is enabled.
Nom du paramètre | Description |
---|---|
organization_id optionel |
identifiant de l'organisation Validations:
|
library optionel |
définir comme vrai si vous souhaitez voir les environnements de bibliothèque uniquement Validations:
|
name optionel |
filtrer uniquement les environnements contenant ce nom Validations:
|
search optionel |
Rechercher une chaîne Validations:
|
page optionel |
Numéro de la page, commençant par 1 Validations:
|
per_page optionel |
Nombre de résultats par page à renvoyer Validations:
|
order optionel |
Sort field and order, eg. 'id DESC' Validations:
|
full_result optionel |
Afficher tous les résultats ou pas Validations:
|
sort optionel |
Version Hash des paramètres d'« ordre » Validations:
|
sort[by] optionel |
Champs dans lequel trier les résultats Validations:
|
sort[order] optionel |
Comment classer les résultats triés (ex : ASC for ascending ou CRO pour croissant) Validations:
|
Nom du paramètre | Description |
---|---|
id requis |
ID de l'environnement Validations:
|
organization_id optionel |
ID de l'organisation Validations:
|
Nom du paramètre | Description |
---|---|
organization_id requis |
nom de l'organisation Validations:
|
name requis |
nom de l'environnement Validations:
|
label optionel |
étiquette de l'environnement Validations:
|
description optionel |
description de l'environnement Validations:
|
registry_name_pattern optionel |
pattern for container image names Validations:
|
registry_unauthenticated_pull optionel |
allow unauthenticed pull of container images Validations:
|
prior_id requis |
ID of an environment that is prior to the new environment in the chain. It has to be either the ID of Library or the ID of an environment at the end of a chain. Validations:
|
Nom du paramètre | Description |
---|---|
id requis |
ID de l'environnement Validations:
|
organization_id optionel |
nom de l'organisation Validations:
|
new_name optionel |
nouveau nom à donner à l'environnement Validations:
|
description optionel |
description de l'environnement Validations:
|
registry_name_pattern optionel |
pattern for container image names Validations:
|
registry_unauthenticated_pull optionel |
allow unauthenticed pull of container images Validations:
|
async optionel |
Do not wait for the update action to finish. Default: true Validations:
|
Nom du paramètre | Description |
---|---|
id requis |
ID de l'environnement Validations:
|
organization_id optionel |
identifiant de l'organisation Validations:
|
Nom du paramètre | Description |
---|---|
organization_id optionel |
identifiant de l'organisation Validations:
|
permission_type optionel |
The associated permission type. One of (readable | promotable) Default: readable Validations:
|