In diesem Thema wird erläutert, wie Umgebungen in Apigee Hybrid gelöscht werden. Weitere Informationen finden Sie unter Umgebungen und Umgebungsgruppen.
So löschen Sie eine Umgebung
Angenommen, Sie haben zwei Umgebungen test und prod. Die Definitionen in der Überschreibungendatei könnten in etwa so aussehen:
Öffnen Sie die Überschreibungsdatei und entfernen Sie die prod-Umgebungsdefinition aus envs und virtualhosts. Behalten Sie nur die test-Definitionen bei. Beispiel:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-12 (UTC)."],[[["This documentation explains the process for deleting environments within Apigee hybrid, using the example of deleting a \"prod\" environment."],["Deleting an environment requires first removing it from any associated environment groups using a `DELETE` request with the `curl` command."],["Before fully removing the runtime components, a dry run should be executed using either `helm delete --dry-run` or `$APIGEECTL_HOME/apigeectl delete --dry-run=client` to check for errors."],["After a successful dry run, the runtime components can be permanently removed using `helm delete ENV_NAME` or `$APIGEECTL_HOME/apigeectl delete`, depending on your setup."],["The final step involves manually removing the environment's definition from the overrides file, specifically from the `envs` and `virtualhosts` sections."]]],[]]